From d211f0977dd24bc3e1e85e7f6ebcc1f58c8c500c Mon Sep 17 00:00:00 2001 From: Dean Netherton Date: Wed, 26 Feb 2020 16:03:47 +1100 Subject: [PATCH] Fix to HBIOS/build.sh When adding files to rom disk, if files were missing, it would error out. It appears the intent is to skip non-existing files. Updated to log out correctly for missing files - and continue operation. --- Source/HBIOS/Build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/HBIOS/Build.sh b/Source/HBIOS/Build.sh index d727319e..697354dd 100755 --- a/Source/HBIOS/Build.sh +++ b/Source/HBIOS/Build.sh @@ -124,8 +124,10 @@ if [ -d ../RomDsk/$platform ] ; then fi echo "adding apps to $romdiskfile" -for i in assign fdu format mode osldr rtc survey syscopy sysgen talk timer xm inttest ; do +for i in $Apps ; do + set +e f=$(../../Tools/unix/casefn.sh ../../Binary/Apps/$i.com) + set -e if [ -z "$f" ] ; then echo " " $i "not found" else