+ fi
+fi
+
+### COMMAND-LINE MANGLING ###
+
+scpoptions="$sshoptions"
+[ "$bandwidthlimit" == 0 ] || scpoptions="$scpoptions -l $bandwidthlimit"
+
+execstr="$options --no-print-statistics --scp-command 'scp $scpoptions' --ssh-command 'ssh $sshoptions' "
+
+if [ "$encryptkey" == "" ]; then
+ [ "$sign" != "yes" ] || fatal "encryptkey option must be set when signing."
+else
+ execstr="${execstr}--encrypt-key $encryptkey "
+ [ "$sign" != "yes" ] || execstr="${execstr}--sign-key $encryptkey "