Skip to content
This repository was archived by the owner on Jul 26, 2026. It is now read-only.

Commit 9080ce4

Browse files
authored
Merge pull request #486 from ctsrc/script-dir
Replace hard-coded names of build directory in build_installer.sh scr…
2 parents 22e3538 + 9c6de19 commit 9080ce4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

dist/macos/bundle/build_installer.sh.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
# change this to rename the installer package
44
B_DMG="Barrier-@[email protected]"
55

6-
cd @CMAKE_CURRENT_SOURCE_DIR@/build/bundle || exit 1
6+
cd "$( dirname '$0' )"
7+
OWNDIR="$( pwd )"
78

8-
B_REREF_SCRIPT=@CMAKE_CURRENT_SOURCE_DIR@/build/bundle/reref_dylibs.sh
9+
B_REREF_SCRIPT="$OWNDIR/reref_dylibs.sh"
910
if [ ! -x $B_REREF_SCRIPT ]; then
1011
echo Missing script: $B_REREF_SCRIPT
1112
exit 1

0 commit comments

Comments
 (0)