]> granicus.if.org Git - nethack/commitdiff
make zip file contents pathless for msdos pkg
authornhmall <nhmall@nethack.org>
Fri, 1 Apr 2022 20:11:30 +0000 (16:11 -0400)
committernhmall <nhmall@nethack.org>
Fri, 1 Apr 2022 20:11:30 +0000 (16:11 -0400)
sys/unix/hints/include/cross-post.370

index 57861d144e30b81c448816237ccff0ccd26b8cd3..a27965ddda252740fbf8aede350d0e18611040ef 100644 (file)
@@ -37,7 +37,7 @@ dospkg: $(GAMEBIN) $(TARGETPFX)recover.exe ../dat/nhtiles.bmp
        cp ../doc/nethack.txt $(TARGETPFX)pkg/NETHACK.TXT
        cp  ../lib/djgpp/cwsdpmi/bin/CWSDPMI.EXE $(TARGETPFX)pkg/CWSDPMI.EXE
        -touch $(TARGETPFX)pkg/RECORD
-       zip -9 $(TARGETPFX)NH370DOS.ZIP $(TARGETPFX)pkg/*
+       cd $(TARGETPFX)pkg ; zip -9 ../NH370DOS.ZIP * ; cd ../../..
        @echo msdos package zip file $(TARGETPFX)NH370DOS.ZIP
 endif  # CROSS_TO_MSDOS