Bug 514466, fix make uploadsymbols when MOZ_PKG_PRETTYNAMES is true (releases), r=ted.mielczarek
authorNick Thomas <nthomas@mozilla.com>
Tue, 06 Oct 2009 21:50:07 +1300
changeset 33495 8f1ba5c38bb16d7b3d252508442330073e2d39b5
parent 33494 9c2ef289c4110a6e30efe594259b1580a105a121
child 33496 a1a29bdad37d73e8ed88382535b6f7705944f801
push id9549
push usernthomas@mozilla.com
push dateTue, 06 Oct 2009 08:50:39 +0000
treeherdermozilla-central@8f1ba5c38bb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted.mielczarek
bugs514466
milestone1.9.3a1pre
Bug 514466, fix make uploadsymbols when MOZ_PKG_PRETTYNAMES is true (releases), r=ted.mielczarek
toolkit/crashreporter/tools/upload_symbols.sh
--- a/toolkit/crashreporter/tools/upload_symbols.sh
+++ b/toolkit/crashreporter/tools/upload_symbols.sh
@@ -44,17 +44,17 @@
 # And will use the following optional environment variables if set:
 # SYMBOL_SERVER_SSH_KEY : path to a ssh private key to use
 # SYMBOL_SERVER_PORT    : port to use for ssh
 #
 set -e
 
 : ${SYMBOL_SERVER_HOST?} ${SYMBOL_SERVER_USER?} ${SYMBOL_SERVER_PATH?} ${1?"You must specify a symbol archive to upload"}
 hash=`openssl dgst -sha1 "$1" | sed 's/^.*)=//' | sed 's/\ //g'`
-archive="${hash}-"`basename "$1" | sed 's/\ /\\\ /g'`
+archive="${hash}-"`basename "$1" | sed 's/\ //g'`
 echo "Transferring symbols... $1"
 scp ${SYMBOL_SERVER_PORT:+-P $SYMBOL_SERVER_PORT} \
   ${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} "$1" \
   ${SYMBOL_SERVER_USER}@${SYMBOL_SERVER_HOST}:"${SYMBOL_SERVER_PATH}/${archive}"
 echo "Unpacking symbols on remote host..."
 ssh -2 ${SYMBOL_SERVER_PORT:+-p $SYMBOL_SERVER_PORT} \
   ${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} \
   -l ${SYMBOL_SERVER_USER} ${SYMBOL_SERVER_HOST} \