Skip to content
Snippets Groups Projects
Commit ea16a823 authored by Tim Otten's avatar Tim Otten
Browse files

Display informative warning if setup.conf is missing.

parent 5af3d504
Branches
Tags
No related merge requests found
......@@ -9,6 +9,12 @@ case "$CALLEDPATH" in
;;
esac
if [ ! -f "$CALLEDPATH/setup.conf" ]; then
echo
echo "Missing configuration file. Please copy $CALLEDPATH/setup.conf.txt to $CALLEDPATH/setup.conf and edit it."
exit 1
fi
source "$CALLEDPATH/setup.conf"
if [ "$1" = '-h' ] || [ "$1" = '--help' ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment