projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Added BackupPC::Xfer::Protocol as a common class for each Xfer
[BackupPC.git]
/
bin
/
BackupPC_archive
diff --git
a/bin/BackupPC_archive
b/bin/BackupPC_archive
index
5cca3f3
..
87ed842
100644
(file)
--- a/
bin/BackupPC_archive
+++ b/
bin/BackupPC_archive
@@
-29,7
+29,7
@@
#
#========================================================================
#
#
#========================================================================
#
-# Version 3.1.0
beta0, released 3 Sep
2007.
+# Version 3.1.0
, released 25 Nov
2007.
#
# See http://backuppc.sourceforge.net.
#
#
# See http://backuppc.sourceforge.net.
#
@@
-64,7
+64,7
@@
if ( @ARGV != 3 ) {
}
$user = $1 if ( $ARGV[0] =~ /(.+)/ );
$client = $1 if ( $ARGV[1] =~ /(.+)/ );
}
$user = $1 if ( $ARGV[0] =~ /(.+)/ );
$client = $1 if ( $ARGV[1] =~ /(.+)/ );
-if ( $ARGV[2] !~ /^([\w
.
]+)$/ ) {
+if ( $ARGV[2] !~ /^([\w
\.\s-
]+)$/ ) {
print("$0: bad reqFileName (arg #3): $ARGV[2]\n");
exit(1);
}
print("$0: bad reqFileName (arg #3): $ARGV[2]\n");
exit(1);
}