summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packaging/macos/030-funcs.sh2
-rwxr-xr-xpackaging/macos/220-inkscape-package.sh1
-rwxr-xr-xpackaging/macos/230-inkscape-distrib.sh2
3 files changed, 4 insertions, 1 deletions
diff --git a/packaging/macos/030-funcs.sh b/packaging/macos/030-funcs.sh
index 85b2c7d6e..74254f164 100644
--- a/packaging/macos/030-funcs.sh
+++ b/packaging/macos/030-funcs.sh
@@ -274,7 +274,7 @@ function create_dmg
local cfg=$3
# set application
- sed "s/PLACEHOLDERAPPLICATION/$(escape_sed $app)/" $SELF_DIR/$(basename $cfg) > $cfg
+ sed -i '' "s/PLACEHOLDERAPPLICATION/$(escape_sed $app)/" $cfg
# set disk image icon (if it exists)
local icon=$SRC_DIR/$(basename -s .py $cfg).icns
diff --git a/packaging/macos/220-inkscape-package.sh b/packaging/macos/220-inkscape-package.sh
index fbc7b090c..a87e12fea 100755
--- a/packaging/macos/220-inkscape-package.sh
+++ b/packaging/macos/220-inkscape-package.sh
@@ -37,6 +37,7 @@ mkdir -p $ARTIFACT_DIR
SCRIPT_DIR=$SELF_DIR
for script in \$SCRIPT_DIR/0??-*.sh; do source \$script; done
export ARTIFACT_DIR
+BUILD_DIR=$BUILD_DIR
cd \$BUILD_DIR
jhbuild run gtk-mac-bundler inkscape.bundle
EOF
diff --git a/packaging/macos/230-inkscape-distrib.sh b/packaging/macos/230-inkscape-distrib.sh
index 7190ce83b..931b663be 100755
--- a/packaging/macos/230-inkscape-distrib.sh
+++ b/packaging/macos/230-inkscape-distrib.sh
@@ -37,6 +37,8 @@ convert -size 560x400 xc:transparent \
# a separate script and be executed via Terminal.app.
# See: https://github.com/al45tair/dmgbuild/pull/11
+cp $SELF_DIR/inkscape_dmg.py $SRC_DIR
+
cat <<EOF >$SRC_DIR/run_dmgbuild.sh
#!/usr/bin/env bash
SCRIPT_DIR=$SELF_DIR