Skip to content

Commit

Permalink
Merge pull request #81 from rlcee/message_230412
Browse files Browse the repository at this point in the history
add warning when setting up an empty directory
  • Loading branch information
rlcee authored Apr 13, 2023
2 parents a756c41 + 433e88c commit 7bd78e5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/museSetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,16 @@ if [ "$QWARN" ]; then
echo " inconsistent builds and memory errors."
fi

#
# check if we setup an empty directory, if so give a warning
#
if [[ -z "$MUSE_REPOS" && -z "$MUSE_BACKING" ]]; then
echo
echo "Note: your working dir has no buildable or linked repos."
echo "This is allowed, but also might indicate a mistake.."
echo
fi


#
# if build area is on cvmfs and contains a setup.sh script, typically written
Expand Down

0 comments on commit 7bd78e5

Please sign in to comment.