diff options
author | davidovski <david@davidovski.xyz> | 2022-05-07 13:50:11 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-07 13:50:11 +0100 |
commit | fd7adb2f3a9d9d239c90742366aec369966a3a03 (patch) | |
tree | 98d3b20558ccfe897e6cb4b8f99d4cbeb075902a /auto | |
parent | 739c65c54cb0e957df5e9b76f93fb02554e5cac3 (diff) |
added libunwind and libcxx, to finish
Diffstat (limited to 'auto')
-rwxr-xr-x | auto/create.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/auto/create.sh b/auto/create.sh index eb73caa..35306fc 100755 --- a/auto/create.sh +++ b/auto/create.sh @@ -20,9 +20,11 @@ echo Type: $type read -p "Ok? " go template=./templates/$type.xibuild -buildfile=repo/$repo/$name.xibuild +package=repo/$repo/$name +buildfile=$package/$name.xibuild [ -f $buildfile ] && read -p "Buildfile already exists, overwrite? " go +mkdir -p $package url=$(echo $url | sed "s/$version/\$PKG_VER/g" | sed "s/pkgver/PKG_VER/g") makedeps="" @@ -58,10 +60,10 @@ EOF [ "${#additional}" = 0 ] || { filenames="" - mkdir extra/$name + mkdir $name for l in $additional; do filename=$(basename $l) - curl -SsL $l > extra/$name/$filename + curl -SsL $l > $package/$filename filenames="$filename $filenames" sleep 2 done |