diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 0857da68dc34fdb414186ee90ec98f895dc2490d..e42adcf09a7a095aa5c3908d70c369d1a9000158 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -104,11 +104,10 @@ if [ ! -d "../pd/nw/nw" ]; then
 		nwjs_dirname=`echo $nwjs_dirname | sed 's/armv7l/arm/'`
 	fi
         mv $nwjs_dirname ../pd/nw/nw
-	# make sure the nw binary is executable on GNU/Linux and OSX
-	if [[ $os != "win" ]]; then
+	# make sure the nw binary is executable on GNU/Linux
+	if [[ $os != "win" && $dmg == 0 ]]; then
 		chmod 755 ../pd/nw/nw/nw
 	fi
-	chmod 755 ../pd/nw/nw/nw
 	rm $nwjs_filename
 fi