diff options
author | Alex Auvolat <alex@adnab.me> | 2017-04-19 11:37:40 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-04-19 11:37:40 +0200 |
commit | 8e88e765ee17296a85c5ae372471ed248ce321db (patch) | |
tree | 94c375f5ec15d215dac16c6f9e386f24283c07df /make_cdrom.sh | |
parent | 96da27494f89d75f8aec0c8894440c3f7482f54b (diff) | |
download | kogata-8e88e765ee17296a85c5ae372471ed248ce321db.tar.gz kogata-8e88e765ee17296a85c5ae372471ed248ce321db.zip |
Mini reorganization
Diffstat (limited to 'make_cdrom.sh')
-rwxr-xr-x | make_cdrom.sh | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/make_cdrom.sh b/make_cdrom.sh index 961ae7b..e6ef212 100755 --- a/make_cdrom.sh +++ b/make_cdrom.sh @@ -27,15 +27,13 @@ cp build/$TY/kernel.bin cdrom/boot; $STRIP cdrom/boot/kernel.bin cp build/$TY/sysbin/init.bin cdrom/boot; $STRIP cdrom/boot/init.bin mkdir -p cdrom/sys/bin -for BIN in giosrv.bin login.bin terminal.bin shell.bin; do - cp build/$TY/sysbin/$BIN cdrom/sys/bin - $STRIP cdrom/sys/bin/$BIN -done - -mkdir -p cdrom/bin -for BIN in lua.bin luac.bin; do - cp build/$TY/bin/$BIN cdrom/bin - $STRIP cdrom/bin/$BIN +for BIN in giosrv.bin login.bin terminal.bin shell.bin lua.bin luac.bin; do + if [ -e build/$TY/sysbin/$BIN ]; then + cp build/$TY/sysbin/$BIN cdrom/sys/bin + $STRIP cdrom/sys/bin/$BIN + else + print "Skipping binary $BIN: not found!" + fi done mkdir -p cdrom/sys/fonts |