diff options
author | davidovski <david@davidovski.xyz> | 2022-05-25 22:50:03 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-25 22:50:03 +0100 |
commit | 7b0628f037dcbf85cfb381d5e05dea39a2059d33 (patch) | |
tree | 4a534ef861d19cdf5235b504af5be2a5d0becb71 /auto | |
parent | 79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (diff) |
fixed various broken dependencies
Diffstat (limited to 'auto')
-rwxr-xr-x | auto/create_meta.sh | 11 |
1 files changed, 6 insertions, 5 deletions
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 |