From 50fb6c032e72a26b3fd881a18e1d1f535c95e0fc Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 17 May 2022 19:10:55 +0100 Subject: fixed packages for llvm based toolchain --- auto/create.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'auto') diff --git a/auto/create.sh b/auto/create.sh index 35306fc..9cddf75 100755 --- a/auto/create.sh +++ b/auto/create.sh @@ -3,7 +3,7 @@ read -p "package name> " name repo=$(ls repo/ | fzf --prompt="repo> ") read -p "package version> " version read -p "description> " desc -deps=$(find repo -type f | sed "s/.xibuild//g" | rev | cut -f1 -d/ | rev |fzf -m --prompt="dependencies> " | tr '\n' ' ') +deps=$(find repo -type d -maxdepth 2 -mindepth 2 | sed 's/.*\///g' | rev | cut -f1 -d/ | rev |fzf -m --prompt="dependencies> " | tr '\n' ' ') read -p "source url> " url read -p "additional urls> " additional type=$(find ./templates -type f | sed "s/.xibuild//g" | rev | cut -f1 -d/ | rev | fzf --prompt="build type> ") @@ -60,7 +60,6 @@ EOF [ "${#additional}" = 0 ] || { filenames="" - mkdir $name for l in $additional; do filename=$(basename $l) curl -SsL $l > $package/$filename -- cgit v1.2.1