2
0
mirror of https://github.com/bebbo/amigaos-cross-toolchain.git synced 2025-12-08 22:38:24 +00:00

Minor changes to use prebuilt LHA and change Bash mktemp

This commit is contained in:
Stuart George
2015-09-07 08:59:49 -04:00
parent d9934c0994
commit 6e372a72e8

View File

@ -49,13 +49,14 @@ function install_sdk {
local sdk="$2"
local url=`sed -ne "s/Url: //p" ${sdk}`
local tmp=`mktemp -d -t "${name}"`
#local tmp=`mktemp -d -t "${name}"`
local tmp=`mktemp -d -t "${name}.XXX"`
pushd ${tmp}
download "${url}"
lha -xgq `basename ${url}`
$(TOP_DIR)/.build-m68k/host/bin/lha -xq `basename ${url}`
sed -ne '5,$p' ${sdk} | while read -a line; do
if [[ ${#line[@]} > 1 ]]; then