Changes to docs setup

This commit is contained in:
Griatch 2020-04-05 13:00:01 +02:00
parent de614e4487
commit fa7ebc41de
3 changed files with 66 additions and 31 deletions

View file

@ -1,11 +1,7 @@
# check environment
# if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
# echo "There are uncommitted changes. Make sure to commit everything in your current branch first."
# exit 1
# fi
# common checks
if [ ! -d "$EVDIR" ]; then
@ -22,3 +18,17 @@ if [ ! -d "$EVGAMEDIR" ]; then
else
echo "Evennia game dir correctly set to $EVGAMEDIR.";
fi
if [ $# -ne 0 ]
# a multi-version build
then
if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
echo "There are uncommitted changes. Make sure to commit everything in your current branch before doing a multiversion build."
exit 1
fi
fi