Skip to content

Commit

Permalink
Merge pull request #486 from ctsrc/script-dir
Browse files Browse the repository at this point in the history
Replace hard-coded names of build directory in build_installer.sh scr…
  • Loading branch information
AdrianKoshka authored Nov 10, 2019
2 parents 22e3538 + 9c6de19 commit 9080ce4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dist/macos/bundle/build_installer.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
# change this to rename the installer package
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
echo Missing script: $B_REREF_SCRIPT
exit 1
Expand Down

0 comments on commit 9080ce4

Please sign in to comment.