Skip to content

Commit

Permalink
version directories check added. (#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
  • Loading branch information
michael-valdron authored Jan 12, 2023
1 parent cab341c commit 7a809c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build-tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ build_registry() {
if [[ -f "stack.yaml" ]]; then
for versionDir in $stackDir/*
do
cd $versionDir
tar_files_and_cleanup
if [[ -d "${versionDir}" ]]; then
cd $versionDir
tar_files_and_cleanup
fi
done
else
tar_files_and_cleanup
Expand Down

0 comments on commit 7a809c0

Please sign in to comment.