aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2019-06-26 16:29:53 -0700
committerGerald Combs <gerald@wireshark.org>2019-06-26 23:30:17 +0000
commit8094ad896b97e6c5f67f8f0f19dc4e3c9c12a21d (patch)
tree7cae522ffba0c2670cdd551acc0f3f36963ded68 /packaging
parentd9e230d79a1d0251920bfc98d092d9fc13d37d36 (diff)
macOS: Fix our token wait.
Change-Id: I3a678267b38a598f43322a1440dd87fa42acf901 Reviewed-on: https://code.wireshark.org/review/33750 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/notarize-dmg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/macosx/notarize-dmg.sh b/packaging/macosx/notarize-dmg.sh
index 7494728767..6a66b893c3 100755
--- a/packaging/macosx/notarize-dmg.sh
+++ b/packaging/macosx/notarize-dmg.sh
@@ -54,8 +54,8 @@ fi
max_upload_wait=$(( 5 * 60))
start=$SECONDS
-while ls "$HOME"/Library/Caches/com.apple.amp.itmstransporter/UploadTokens/ > /dev/null 2>&1 ; do
- echo "Another upload in progress. Waiting 5s\xe2\x80\xa6"
+while ls "$HOME"/Library/Caches/com.apple.amp.itmstransporter/UploadTokens/*.token > /dev/null 2>&1 ; do
+ echo -e "Another upload in progress. Waiting 5s\xe2\x80\xa6"
sleep 5
elapsed=$(( SECONDS - start ))
if [[ $elapsed -gt $max_upload_wait ]] ; then