summary history branches tags files
commit:41cfe63c6e713969f3a1642b287155d021c80884
author:Trevor Bentley
committer:Trevor Bentley
date:Sun Jun 30 13:54:23 2019 +0200
parents:64183d461de749d66e7938452cae691a4a05cef1
Update macOS strip commands
diff --git a/bundle_osx.sh b/bundle_osx.sh
line changes: +1/-1
index 2f8b446..eb257c4
--- a/bundle_osx.sh
+++ b/bundle_osx.sh
@@ -18,7 +18,7 @@ cp -a clientid_prompt.sh "$DST/$APPDIR/Contents/Resources/clientid_prompt.sh"
 chmod a+x "$DST/$APPDIR/Contents/Resources/clientid_prompt.sh"
 cp -a LICENSE "$DST/$APPDIR/Contents/Resources/LICENSE.txt"
 
-strip -u -r "$DST/$APPDIR/Contents/MacOS/connectr"
+/usr/bin/strip -u -r "$DST/$APPDIR/Contents/MacOS/connectr"
 
 cat > "$DST/$APPDIR/Contents/Info.plist" << EOF
 {

diff --git a/release_osx.sh b/release_osx.sh
line changes: +1/-1
index 2619b6a..2fde3b0
--- a/release_osx.sh
+++ b/release_osx.sh
@@ -9,7 +9,7 @@ echo "Building OS X app $RELEASE..."
 
 cargo run --release && pkill "$APP"
 
-strip "$DST/$APPDIR/Contents/MacOS/$APP"
+/usr/bin/strip "$DST/$APPDIR/Contents/MacOS/$APP"
 (cd "$DST" && zip -r9 "$RELEASE.zip" "$APPDIR" && md5 "$RELEASE.zip" > "$RELEASE.md5")
 
 echo "Done!"