summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-10-20 19:39:06 +0200
committerJoerg Jaspert <joerg@debian.org>2008-10-20 19:39:06 +0200
commit3fd688ca006326052cec6fdf49cf2c3bcef44dae (patch)
tree188009f2314061f7da42015c6634a0416c12ec7c /bin
parent376a61632ec63f4013b47def9708df12acc6cf79 (diff)
ftpsync
some "" Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 5427b5b..d0db9a7 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -115,7 +115,7 @@ cleanup() {
# As what are we called?
NAME="`basename $0`"
# The original command line arguments need to be saved!
-ORIGINAL_COMMAND=$*
+ORIGINAL_COMMAND="$*"
# Now, check if we got told about stuff via ssh
if [ -n "${SSH_ORIGINAL_COMMAND}" ]; then
@@ -124,14 +124,14 @@ if [ -n "${SSH_ORIGINAL_COMMAND}" ]; then
# making us parse them...
set "nothing" ${SSH_ORIGINAL_COMMAND}
shift
- check_commandline $*
+ check_commandline "$*"
fi
# Now, we can locally override all the above variables by just putting
# them into the .ssh/authorized_keys file forced command.
if [ -n "${ORIGINAL_COMMAND}" ]; then
set ${ORIGINAL_COMMAND}
- check_commandline $*
+ check_commandline "$*"
fi
# If we have been told to do stuff for a different archive than default,