Update build.sh

Little fixes
This commit is contained in:
Fabio Belavenuto 2022-07-02 02:06:40 -03:00 committed by GitHub
parent ff94ac634f
commit 4d2786d73e

View File

@ -7,6 +7,8 @@ function trap_cancel() {
} }
trap trap_cancel SIGINT SIGTERM trap trap_cancel SIGINT SIGTERM
cd `dirname $0`
# Read platforms/kerver version # Read platforms/kerver version
echo "Reading platforms" echo "Reading platforms"
declare -A PLATFORMS declare -A PLATFORMS
@ -15,6 +17,7 @@ while read PLATFORM KVER; do
done <../PLATFORMS done <../PLATFORMS
# Download toolkits # Download toolkits
mkdir -p cache
TOOLKIT_VER="7.0" TOOLKIT_VER="7.0"
for PLATFORM in ${!PLATFORMS[@]}; do for PLATFORM in ${!PLATFORMS[@]}; do
echo -n "Checking cache/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz... " echo -n "Checking cache/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz... "