diff --git a/libsnes-build.sh b/libsnes-build.sh index d71cad68..7650d1af 100755 --- a/libsnes-build.sh +++ b/libsnes-build.sh @@ -56,7 +56,7 @@ build_libsnes_s9x_next() echo "=== Building SNES9x-Next ===" cd libsnes-s9x-next/ make -f Makefile.libsnes -j4 || die "Failed to build SNES9x-Next" - cp libsnes.so ../libsnes-snes9x-next.so + cp libsnes.so libsnes-snes9x-next.so cd .. else echo "SNES9x-Next not fetched, skipping ..." @@ -69,7 +69,7 @@ build_libsnes_genplus() echo "=== Building Genplus GX ===" cd libsnes-genplus/ make -f Makefile.libsnes -j4 || die "Failed to build Genplus GX" - cp libsnes.so ../libsnes-genplus.so + cp libsnes.so libsnes-genplus.so cd .. else echo "Genplus GX not fetched, skipping ..." @@ -95,7 +95,7 @@ build_libsnes_vba() echo "=== Building VBA-Next ===" cd libsnes-vba/ make -f Makefile.libsnes -j4 || die "Failed to build VBA-Next" - cp libsnes.so ../libsnes-vba.so + cp libsnes.so libsnes-vba.so cd .. else echo "VBA-Next not fetched, skipping ..." @@ -122,7 +122,7 @@ build_libsnes_fceu() echo "=== Building FCEU ===" cd libsnes-fceu make -f Makefile.libsnes-fceumm -j4 || die "Failed to build FCEU" - cp libsnes.so ../libsnes-fceu.so + cp libsnes.so libsnes-fceu.so cd .. else echo "FCEU not fetched, skipping ..."