fix an error with msdos cross-compiler NetHack packaging

This commit is contained in:
nhmall
2019-11-23 01:30:54 -05:00
parent 1e0c03b3f6
commit 11678e72f2
2 changed files with 11 additions and 5 deletions
+7 -4
View File
@@ -39,7 +39,7 @@ if [ ! -d cwsdpmi ]; then
fi
cd ../src
pwd
mkdir -p ../binary
mkdir -p ../msdos-binary
cp ../dat/data.base ../dat/data.bas
cp ../include/patchlevel.h ../include/patchlev.h
cp ../doc/Guidebook.txt ../doc/guidebk.txt
@@ -53,8 +53,11 @@ export
pwd
make -f Makefile2
unset GCC_EXEC_PREFIX
if [ -f $TRAVIS_BUILD_DIR/djgpp/cwsdpmi/bin/cwsdpmi.exe ]; then
cp $TRAVIS_BUILD_DIR/djgpp/cwsdpmi/bin/cwsdpmi.exe ../binary/CWSDPMI.EXE;
pwd
ls ../djgpp/cwsdpmi/bin
ls .
if [ -f ../djgpp/cwsdpmi/bin/CWSDPMI.EXE ]; then
cp ../djgpp/cwsdpmi/bin/CWSDPMI.EXE ../msdos-binary/CWSDPMI.EXE;
fi
ls -l ../binary
ls -l ../msdos-binary