1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00

Fix bug: include dirs in Kustomizations again

I meant to exclude `*.yaml.drv` but ended up excluding whole dirs too.
This commit is contained in:
Antonio Gurgel 2023-11-24 13:08:41 -08:00
parent e48d34df84
commit f1332fc3ca

View file

@ -8,6 +8,8 @@
: "${extra_drvs:-}" : "${extra_drvs:-}"
: "${namespace_drv:-}" : "${namespace_drv:-}"
GLOBIGNORE="*.drv" # don't add symlinks to Kustomizations
build_kustomizations() { build_kustomizations() {
out_root="$out/$1" out_root="$out/$1"
@ -18,7 +20,7 @@ build_kustomizations() {
pushd "$dir" > /dev/null || exit 1 pushd "$dir" > /dev/null || exit 1
kustomize create kustomize create
kustomize edit add resource -- *.yaml kustomize edit add resource -- *
popd > /dev/null || exit 1 popd > /dev/null || exit 1
done done