From 3fd688ca006326052cec6fdf49cf2c3bcef44dae Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 20 Oct 2008 19:39:06 +0200 Subject: ftpsync some "" Signed-off-by: Joerg Jaspert --- bin/ftpsync | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ftpsync') 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, -- cgit v1.2.3