Skip to content

Commit

Permalink
Merge pull request #198 from Jdubrick/bug/build-warnings
Browse files Browse the repository at this point in the history
Fix error related to directory does not exist
  • Loading branch information
Jdubrick authored Feb 8, 2024
2 parents 0e44b9c + db35460 commit 19c1c08
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 19c1c08

Please sign in to comment.