commit 969c2e351648392f08f2f1a7c64d206cf723b05b
parent d32d869abfc558b5a756106d933cf7f6bdc16819
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Thu, 19 Aug 2021 06:08:09 +0100
Tidied installation commands
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/build.sh b/build.sh
@@ -45,12 +45,10 @@ cc ${CFLAGS} src/uxnasm.c -o bin/uxnasm
cc ${CFLAGS} ${CORE} src/devices/ppu.c src/devices/apu.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu
cc ${CFLAGS} ${CORE} src/uxncli.c -o bin/uxncli
-if [ -d "$HOME/bin" ] && [ -e ./bin/uxnemu ] && [ -e ./bin/uxnasm ]
+if [ -d "$HOME/bin" ]
then
echo "Installing in $HOME/bin"
- cp ./bin/uxnemu $HOME/bin
- cp ./bin/uxnasm $HOME/bin
- cp ./bin/uxncli $HOME/bin
+ cp bin/uxnemu bin/uxnasm bin/uxncli $HOME/bin/
fi
echo "Assembling.."