diff --git a/pom.xml b/pom.xml index 54625a0a82b..494f74a1f00 100644 --- a/pom.xml +++ b/pom.xml @@ -887,6 +887,7 @@ + @@ -1000,6 +1001,7 @@ + diff --git a/src/main/config/create-dmg b/src/main/config/create-dmg index 71aaaf3ff99..f7265af20f4 100755 --- a/src/main/config/create-dmg +++ b/src/main/config/create-dmg @@ -128,7 +128,7 @@ if ! test -z "$BACKGROUND_FILE"; then fi # run applescript -APPLESCRIPT=$(mktemp -t createdmg) +APPLESCRIPT=$(mktemp -t createdmg.XXXXX) cat "$AUX_PATH/template.applescript" | sed -e "s/WINX/$WINX/g" -e "s/WINY/$WINY/g" -e "s/WINW/$WINW/g" -e "s/WINH/$WINH/g" -e "s/BACKGROUND_CLAUSE/$BACKGROUND_CLAUSE/g" -e "s/ICON_SIZE/$ICON_SIZE/g" | perl -pe "s/POSITION_CLAUSE/$POSITION_CLAUSE/g" >"$APPLESCRIPT" echo "Running Applescript: /usr/bin/osascript \"${APPLESCRIPT}\" \"${VOLUME_NAME}\""