projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Added Simplified Chinese CGI translation from Youlin Feng.
[BackupPC.git]
/
bin
/
BackupPC_archiveHost
diff --git
a/bin/BackupPC_archiveHost
b/bin/BackupPC_archiveHost
index
5740914
..
8e6c483
100755
(executable)
--- a/
bin/BackupPC_archiveHost
+++ b/
bin/BackupPC_archiveHost
@@
-38,7
+38,7
@@
#
#========================================================================
#
#
#========================================================================
#
-# Version 3.0.0
beta2, released 11 Nov 2006
.
+# Version 3.0.0
, released 28 Jan 2007
.
#
# See http://backuppc.sourceforge.net.
#
#
# See http://backuppc.sourceforge.net.
#
@@
-105,7
+105,9
@@
if ( -x "/bin/csh" ) {
exit(1);
}
my $cmd = "$tarCreate -t -h $host -n $bkupNum -s $share . ";
exit(1);
}
my $cmd = "$tarCreate -t -h $host -n $bkupNum -s $share . ";
-$cmd .= "| $compPath " if ( $compPath ne "cat" && $compPath ne "" );
+$cmd .= "| $compPath " if ( $compPath ne "cat"
+ && $compPath ne "/bin/cat
+ && $compPath ne "" );
if ( -b $outLoc || -c $outLoc || -f $outLoc ) {
#
# Output file is a device or a regular file, so don't use split
if ( -b $outLoc || -c $outLoc || -f $outLoc ) {
#
# Output file is a device or a regular file, so don't use split
@@
-133,7
+135,7
@@
print("$mesg\n");
#
my $ret = system(@shell, $cmd);
if ( $ret ) {
#
my $ret = system(@shell, $cmd);
if ( $ret ) {
- print("Executing: @shell
-cf
$cmd\n");
+ print("Executing: @shell $cmd\n");
print("Error: $tarCreate, compress or split failed\n");
exit(1);
}
print("Error: $tarCreate, compress or split failed\n");
exit(1);
}