From 2d977879766efee9a11b336b0e4e186e2059c905 Mon Sep 17 00:00:00 2001 From: "nrthomas@gmail.com" Date: Mon, 20 Aug 2007 13:37:06 -0700 Subject: [PATCH] Bug 392579, quote SYMBOL_SERVER_SSH_KEY to cope with spaces in /Users/nrthomas, r=luser --- toolkit/crashreporter/tools/upload_symbols.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkit/crashreporter/tools/upload_symbols.sh b/toolkit/crashreporter/tools/upload_symbols.sh index abc1e53dec1e..32de90299330 100755 --- a/toolkit/crashreporter/tools/upload_symbols.sh +++ b/toolkit/crashreporter/tools/upload_symbols.sh @@ -49,10 +49,10 @@ set -e : ${SYMBOL_SERVER_HOST?} ${SYMBOL_SERVER_USER?} ${SYMBOL_SERVER_PATH?} ${1?"You must specify a symbol archive to upload"} archive=`basename $1` echo "Transferring symbols... $1" -scp -v ${SYMBOL_SERVER_SSH_KEY:+-i $SYMBOL_SERVER_SSH_KEY} $1 \ +scp -v ${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} $1 \ ${SYMBOL_SERVER_USER}@${SYMBOL_SERVER_HOST}:${SYMBOL_SERVER_PATH}/ echo "Unpacking symbols on remote host..." -ssh -2 ${SYMBOL_SERVER_SSH_KEY:+-i $SYMBOL_SERVER_SSH_KEY} \ +ssh -2 ${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} \ -l ${SYMBOL_SERVER_USER} ${SYMBOL_SERVER_HOST} \ "set -e; umask 0022;