Make macos dmg file read only.
authorChris Hanson <org/chris-hanson/cph>
Thu, 1 Nov 2018 05:41:45 +0000 (22:41 -0700)
committerChris Hanson <org/chris-hanson/cph>
Thu, 1 Nov 2018 05:41:45 +0000 (22:41 -0700)
dist/make-macosx-app

index dad39e2d63778901c1d480ee979f2e4f51763a91..2cb2c8a7bae0986f5a3f8c4dbf6ff77751d7629d 100755 (executable)
@@ -64,6 +64,7 @@ make_dmg ()
     my_ln_s /Applications "${DMG_DIR}"/.
     my_rm_f "${DMG_FILE}"
     create-dmg --volname "MIT-GNU Scheme ${RELEASE}" "${DMG_FILE}" "${DMG_DIR}"
+    make_read_only "${DMG_FILE}"
 }
 
 notify "Compiling executable"