Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
T
Tools
Sources
TarExtend
Commits
193b0801
Commit
193b0801
authored
25 years ago
by
David Cotton
Browse files
Options
Download
Email Patches
Plain Diff
Altered the dearchival scripts to have the correct system variables in them."
Version 0.04. Tagged as 'TarExtend-0_04'
parent
de42bea7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
VersionNum
VersionNum
+7
-7
c++/recurse
c++/recurse
+8
-8
No files found.
VersionNum
View file @
193b0801
/* (0.0
3
)
/* (0.0
4
)
*
*
* This file is automatically maintained by srccommit, do not edit manually.
* This file is automatically maintained by srccommit, do not edit manually.
*
*
*/
*/
#define Module_MajorVersion_CMHG 0.0
3
#define Module_MajorVersion_CMHG 0.0
4
#define Module_MinorVersion_CMHG
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 1
1
Jun 1999
#define Module_Date_CMHG 1
6
Jun 1999
#define Module_MajorVersion "0.0
3
"
#define Module_MajorVersion "0.0
4
"
#define Module_Version
3
#define Module_Version
4
#define Module_MinorVersion ""
#define Module_MinorVersion ""
#define Module_Date "1
1
Jun 1999"
#define Module_Date "1
6
Jun 1999"
#define Module_FullVersion "0.0
3
"
#define Module_FullVersion "0.0
4
"
This diff is collapsed.
Click to expand it.
c++/recurse
View file @
193b0801
...
@@ -837,22 +837,22 @@ BOOL output_dearchiver_file(char* dearchiver_filename)
...
@@ -837,22 +837,22 @@ BOOL output_dearchiver_file(char* dearchiver_filename)
output
<<
"| This file is automatically generated by TarExtend. Do not manually alter."
<<
endl
<<
endl
;
output
<<
"| This file is automatically generated by TarExtend. Do not manually alter."
<<
endl
<<
endl
;
output
<<
"| Before this script is run,"
<<
endl
;
output
<<
"| Before this script is run,"
<<
endl
;
output
<<
"| <dearchiver_tool$dir> should be set to point to the directory containing FileCRC and tar."
<<
endl
;
output
<<
"| <dearchiver_tool
s
$dir> should be set to point to the directory containing FileCRC and tar."
<<
endl
;
output
<<
"| <cdname$dir> should be set to the root of the device that stores the archive (normally a CD)."
<<
endl
;
output
<<
"| <
dearchiver_
cdname$dir> should be set to the root of the device that stores the archive (normally a CD)."
<<
endl
;
output
<<
endl
<<
"set target$dir <obey$dir>"
<<
endl
;
output
<<
endl
<<
"set target$dir <obey$dir>"
<<
endl
;
// Check the archive using CRC.
// Check the archive using CRC.
output
<<
endl
<<
"| Checking CRC for the archive..."
<<
endl
;
output
<<
endl
<<
"| Checking CRC for the archive..."
<<
endl
;
output
<<
"echo Checking CRC for the archive"
<<
endl
;
output
<<
"echo Checking CRC for the archive"
<<
endl
;
output
<<
"dir <cdname$dir>.dr"
<<
endl
;
output
<<
"dir <
dearchiver_
cdname$dir>.dr"
<<
endl
;
output
<<
"*do <dearchiver_tool$dir>.filecrc -crc -single -d "
<<
archive_name
<<
" -f ^.CRCs.ArcCRC"
<<
endl
;
output
<<
"*do <dearchiver_tool
s
$dir>.filecrc -crc -single -d "
<<
archive_name
<<
" -f ^.CRCs.ArcCRC"
<<
endl
;
// Dearchive the tarfile.
// Dearchive the tarfile.
output
<<
endl
<<
"| Dearchiving the archive."
<<
endl
;
output
<<
endl
<<
"| Dearchiving the archive."
<<
endl
;
output
<<
"echo dearchiving the archive..."
<<
endl
;
output
<<
"echo dearchiving the archive..."
<<
endl
;
output
<<
"dir <target$dir>"
<<
endl
;
output
<<
"dir <target$dir>"
<<
endl
;
output
<<
"<dearchiver_tool$dir>.tar -xvf <cdname$dir>.dr."
<<
archive_name
<<
" "
<<
root_filename
<<
" { > unarclist }"
<<
endl
;
output
<<
"<dearchiver_tool
s
$dir>.tar -xvf <
dearchiver_
cdname$dir>.dr."
<<
archive_name
<<
" "
<<
root_filename
<<
" { > unarclist }"
<<
endl
;
// Scan through the list backwards, outputing the details to the file.
// Scan through the list backwards, outputing the details to the file.
output
<<
endl
<<
"| Renaming all the files."
<<
endl
;
output
<<
endl
<<
"| Renaming all the files."
<<
endl
;
...
@@ -865,7 +865,7 @@ BOOL output_dearchiver_file(char* dearchiver_filename)
...
@@ -865,7 +865,7 @@ BOOL output_dearchiver_file(char* dearchiver_filename)
// Check that all the files are present and sizes are okay.
// Check that all the files are present and sizes are okay.
output
<<
endl
<<
"| Use perl script to ensure all files have been dearchived."
<<
endl
;
output
<<
endl
<<
"| Use perl script to ensure all files have been dearchived."
<<
endl
;
output
<<
"do perl <dearchiver_tool$dir>.filecmp <cdname$dir>.dr.arclist <target$dir>.unarclist"
<<
endl
;
output
<<
"do perl <dearchiver_tool
s
$dir>.filecmp <
dearchiver_
cdname$dir>.dr.arclist <target$dir>.unarclist"
<<
endl
;
// Finally set the filetype of unarclist to text
// Finally set the filetype of unarclist to text
output
<<
endl
<<
"| Setting the filetype of the unarchive list to text"
<<
endl
;
output
<<
endl
<<
"| Setting the filetype of the unarchive list to text"
<<
endl
;
...
@@ -874,8 +874,8 @@ BOOL output_dearchiver_file(char* dearchiver_filename)
...
@@ -874,8 +874,8 @@ BOOL output_dearchiver_file(char* dearchiver_filename)
// Check the sources using CRC.
// Check the sources using CRC.
output
<<
endl
<<
"| checking CRC for the uncompressed sources..."
<<
endl
;
output
<<
endl
<<
"| checking CRC for the uncompressed sources..."
<<
endl
;
output
<<
"*echo checking CRC for the uncompressed sources..."
<<
endl
;
output
<<
"*echo checking CRC for the uncompressed sources..."
<<
endl
;
output
<<
"*dir <cdname$dir>.dr"
<<
endl
;
output
<<
"*dir <
dearchiver_
cdname$dir>.dr"
<<
endl
;
output
<<
"*do <dearchiver_tool$dir>.filecrc -crc -d <target$dir>."
<<
root_filename
<<
" -f ^.CRCs.SourcCRC"
<<
endl
;
output
<<
"*do <dearchiver_tool
s
$dir>.filecrc -crc -d <target$dir>."
<<
root_filename
<<
" -f ^.CRCs.SourcCRC"
<<
endl
;
output
.
close
();
output
.
close
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment