Skip to content

Commit

Permalink
Add warnings for users manually running build_installer.sh and `rer…
Browse files Browse the repository at this point in the history
…ef_dylibs.sh` manually
  • Loading branch information
simons-public committed May 2, 2020
1 parent 8cd59eb commit fb3eaa3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/macos/bundle/build_installer.sh.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh

# add warning for users running manually
function warn() { tput bold; tput setaf 3; echo "$@"; tput sgr0 ; }
warn "The scripts build_installer.sh and reref_dylibs.sh have been deprecated."
warn "Please use build_dist.sh instead to deploy using macdeployqt"

# change this to rename the installer package
B_DMG="Barrier-@[email protected]"

Expand Down
6 changes: 6 additions & 0 deletions dist/macos/bundle/reref_dylibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
# $1 = binary (program or dylib)
B_TARGET=$1
if [ "x$B_TARGET" = "x" ]; then

# add warning for users running manually
function warn() { tput bold; tput setaf 3; echo "$@"; tput sgr0 ; }
warn "The scripts build_installer.sh and reref_dylibs.sh have been deprecated."
warn "Please use build_dist.sh instead to deploy using macdeployqt"

echo Which binary needs to be re-referenced?
exit 1
fi
Expand Down

0 comments on commit fb3eaa3

Please sign in to comment.