Skip to content

Commit

Permalink
Better error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
j-woz committed Dec 12, 2024
1 parent 0917593 commit d65d957
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev/conda/build-generic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ install -d $PREFIX/swift-t

# Start build!
cd $DEV_BUILD
if [[ ! -f init-settings.sh ]]
then
# OS may have cleaned up the /tmp directories
echo "build-generic.sh: Cannot find init-settings.sh!"
echo "build-generic.sh: PWD=$PWD"
exit 1
fi
rm -fv swift-t-settings.sh
bash init-settings.sh

Expand Down

0 comments on commit d65d957

Please sign in to comment.