Index: /applications/editors/josm/nsis/josm-setup-unix.sh
===================================================================
--- /applications/editors/josm/nsis/josm-setup-unix.sh	(revision 11436)
+++ /applications/editors/josm/nsis/josm-setup-unix.sh	(revision 11437)
@@ -50,5 +50,5 @@
 # launch4j - http://launch4j.sourceforge.net/
 # delete old exe file first
-rm josm.exe
+rm -f josm.exe
 $LAUNCH4J ./launch4j.xml
 
@@ -66,3 +66,4 @@
 
 # delete the intermediate file, just to avoid confusion
-rm josm.exe
+rm josm-intermediate.exe
+mv josm.exe josm-intermediate.exe
