Cleanup Bash scripts.

This makes them pass shellcheck. Except for a few unused
export warnings.

I also wonder if the majority of these files should be
in the root of the project, or should be moved to "build-scripts"
(or should still even exist).

a few minor changes

one more minor changes
This commit is contained in:
Robert de Rooy
2023-04-15 15:39:25 +02:00
parent f11408c5a4
commit 694cc766a4
49 changed files with 862 additions and 766 deletions

View File

@@ -5,15 +5,16 @@
# and just autoregen.
./autogen.sh || exit 1
echo Compiling DOSBox-X
echo "Compiling DOSBox-X"
chmod +x configure
# for sdl-config
export PATH=$GCCSDK_INSTALL_ENV/bin:$PATH
export CPPFLAGS=-I$GCCSDK_INSTALL_ENV/include
export LDFLAGS="-L$GCCSDK_INSTALL_ENV/lib -static"
PATH=${GCCSDK_INSTALL_ENV}/bin:$PATH
CPPFLAGS=-I${GCCSDK_INSTALL_ENV}/include
LDFLAGS="-L${GCCSDK_INSTALL_ENV}/lib -static"
export PATH CPPFLAGS LDFLAGS
./configure --host=arm-unknown-riscos "$@"
./configure --host=arm-unknown-riscos "${@}"
make -j3 || exit 1
elf2aif src/dosbox-x !DosBox-X/dosbox-x,ff8
cp contrib/fonts/FREECG98.BMP !DosBox-X/resources/freecg98.bmp,69c