Skip to content

Commit

Permalink
filter out dir change to non-dir items
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Dubrick <[email protected]>
  • Loading branch information
Jdubrick committed Feb 2, 2024
1 parent 35722ec commit db35460
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build-tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ build_registry() {
cd "$OLDPWD"

# Generate the tar archive
for stackDir in $outputFolder/stacks/*
do
for stackDir in $outputFolder/stacks/*; do
if [[ -d "${stackDir}" ]]; then
cd $stackDir
if [[ -f "stack.yaml" ]]; then
for versionDir in $stackDir/*
Expand All @@ -85,6 +85,7 @@ build_registry() {
tar_files_and_cleanup
fi
cd "$OLDPWD"
fi
done
cd "$buildToolsDir"

Expand Down

0 comments on commit db35460

Please sign in to comment.