From 7b0628f037dcbf85cfb381d5e05dea39a2059d33 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 25 May 2022 22:50:03 +0100 Subject: fixed various broken dependencies --- auto/create_meta.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'auto') diff --git a/auto/create_meta.sh b/auto/create_meta.sh index 80428a3..04c7e84 100755 --- a/auto/create_meta.sh +++ b/auto/create_meta.sh @@ -11,16 +11,16 @@ create() { printf "DEPS=\"" while read repo; do [ -d repo/$repo ] && [ ! "$repo" = "meta" ] && - for file in $(ls repo/$repo/*.xibuild); do - local name=$(basename -s ".xibuild" $file) - printf " $name" + for name in $(ls -d repo/$repo/*); do + printf " $(basename $name)" done done printf "\"\n" } -ls repo | create 'AlL tHe pacKageS!!' > repo/meta/all.xibuild +mkdir -p repo/meta/all/ +ls repo | create 'AlL tHe pacKageS!!' > repo/meta/all/all.xibuild skip="skip meta" @@ -29,7 +29,8 @@ for repo in $(ls repo); do if echo $skip | grep -q $repo; then echo "Skipping $repo" else - echo $repo | create "All the the packages available in $repo" > repo/meta/$pkg_name.xibuild + mkdir -p repo/meta/$pkg_name + echo $repo | create "All the the packages available in $repo" > repo/meta/$pkg_name/$pkg_name.xibuild echo "Generated $pkg_name.xibuild" fi done -- cgit v1.2.1