summaryrefslogtreecommitdiffstats
path: root/packaging/macos/110-sysprep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/macos/110-sysprep.sh')
-rwxr-xr-xpackaging/macos/110-sysprep.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/macos/110-sysprep.sh b/packaging/macos/110-sysprep.sh
index 432972e6d..bfec0311e 100755
--- a/packaging/macos/110-sysprep.sh
+++ b/packaging/macos/110-sysprep.sh
@@ -8,10 +8,11 @@
### load settings and functions ################################################
-SELF_DIR=$(F=$0; while [ ! -z $(readlink $F) ] && F=$(readlink $F); \
- cd $(dirname $F); F=$(basename $F); [ -L $F ]; do :; done; echo $(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
+run_annotated
+
### create our work directory ##################################################
[ ! -d $WRK_DIR ] && mkdir -p $WRK_DIR
@@ -21,7 +22,7 @@ if $RAMDISK_ENABLE; then
create_ramdisk $WRK_DIR $RAMDISK_SIZE
fi
-### housekeeping: redirect to locations below $WRK_DIR #########################
+### housekeeping: redirect to locations below WRK_DIR ##########################
mkdir -p $TMP_DIR