Merge pull request #486 from ctsrc/script-dir

Replace hard-coded names of build directory in build_installer.sh scr…
This commit is contained in:
Adrian Lucrèce Céleste 2019-11-09 21:33:50 -05:00 committed by GitHub
commit 9080ce451b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -3,9 +3,10 @@
# change this to rename the installer package # change this to rename the installer package
B_DMG="Barrier-@BARRIER_VERSION@.dmg" B_DMG="Barrier-@BARRIER_VERSION@.dmg"
cd @CMAKE_CURRENT_SOURCE_DIR@/build/bundle || exit 1 cd "$( dirname '$0' )"
OWNDIR="$( pwd )"
B_REREF_SCRIPT=@CMAKE_CURRENT_SOURCE_DIR@/build/bundle/reref_dylibs.sh B_REREF_SCRIPT="$OWNDIR/reref_dylibs.sh"
if [ ! -x $B_REREF_SCRIPT ]; then if [ ! -x $B_REREF_SCRIPT ]; then
echo Missing script: $B_REREF_SCRIPT echo Missing script: $B_REREF_SCRIPT
exit 1 exit 1