Skip to content

Commit

Permalink
add warning when setting up an empty directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rlcee committed Apr 13, 2023
1 parent a756c41 commit 433e88c
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 433e88c

Please sign in to comment.