diff --git a/ports/doom/build.sh b/ports/doom/build.sh index 27be680b..0f86548c 100755 --- a/ports/doom/build.sh +++ b/ports/doom/build.sh @@ -9,13 +9,13 @@ configure() { } build() { - if [ ! -f doom1.wad ]; then - wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad || exit 1 + if [ ! -f ../doom1.wad ]; then + wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad -O ../doom1.wad || exit 1 fi make --directory doomgeneric --file Makefile.banan_os -j$(nproc) || exit 1 } install() { cp doomgeneric/build/doom "${BANAN_SYSROOT}/bin/" || exit 1 - cp ./doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1 + cp ../doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1 }