summaryrefslogtreecommitdiffstats
path: root/packaging/macos/build_toolset.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/macos/build_toolset.sh')
-rwxr-xr-xpackaging/macos/build_toolset.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/packaging/macos/build_toolset.sh b/packaging/macos/build_toolset.sh
index 12e0d7b8d..0a50b7bcb 100755
--- a/packaging/macos/build_toolset.sh
+++ b/packaging/macos/build_toolset.sh
@@ -8,7 +8,8 @@
### load settings and functions ################################################
-SELF_DIR=$(cd $(dirname "$0"); pwd -P)
+SELF_DIR=$(F=$0; while [ ! -z $(readlink $F) ] && F=$(readlink $F); \
+ cd $(dirname $F); F=$(basename $F); [ -L $F ]; do :; done; echo $(pwd -P))
for script in $SELF_DIR/0??-*.sh; do source $script; done
set -e
@@ -26,8 +27,11 @@ else
# Until a better solution is found, the ramdisk has to be manually created
# on the runner and is disabled on CI.
[ ! -z $CI_JOB_ID ] && RAMDISK_ENABLE=false
- $SELF_DIR/110-jhbuild-install.sh
+ $SELF_DIR/110-sysprep.sh
get_source $URL_TOOLSET_CACHE $WRK_DIR
+ mkdir -p $HOME/.config
+ rm -f $HOME/.config/jhbuild*
+ ln -sf $DEVCONFIG/jhbuild* $HOME/.config
else # we need to build from scratch
for script in $SELF_DIR/1??-*.sh; do
$script