]> granicus.if.org Git - nethack/commitdiff
another msdos cross-compile bit
authornhmall <nhmall@nethack.org>
Tue, 26 Nov 2019 05:34:57 +0000 (00:34 -0500)
committernhmall <nhmall@nethack.org>
Tue, 26 Nov 2019 05:34:57 +0000 (00:34 -0500)
sys/msdos/msdos-cross-compile.sh

index 4df9fc3cf4a223d3d7091709ac8aa2138cdff734..4dd7ee617d600d6e476595be35c0a385c9cad3cb 100644 (file)
@@ -47,7 +47,7 @@ fi
 
 if [ ! -d djgpp/i586-pc-msdosdjgpp ]; then
     tar xjf "$DJGPP_FILE"
-    rm $DJGPP_FILE
+    rm -f $DJGPP_FILE
 fi
 
 # DOS-extender for use with djgpp
@@ -61,7 +61,7 @@ if [ ! -d djgpp/cwsdpmi ]; then
     cd djgpp
     mkdir -p cwsdpmi
     cd cwsdpmi
-    unzip ../csdpmi7b.zip
+    unzip ../../csdpmi7b.zip
     cd ../../
     rm csdpmi7b.zip
 fi