зеркало из https://github.com/mozilla/gecko-dev.git
Bug 392579, quote SYMBOL_SERVER_SSH_KEY to cope with spaces in /Users/nrthomas, r=luser
This commit is contained in:
Родитель
f8cf4b7897
Коммит
2d97787976
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче