fixed path issue

This commit is contained in:
overflowerror 2018-11-02 20:07:49 +01:00
parent eae4e02360
commit 7cd18a4a29

View file

@ -5,6 +5,7 @@ directory="$1"
if test "$directory" = ""; then
directory=$(pwd)
fi
directory=$(realpath "$directory")
pushd $directory
@ -15,6 +16,7 @@ mkdir versions
mkdir -p git/build/NurseBot_lib
if test "$(ls git/build/NurseBot_lib)" = ""; then
echo
echo "Libs are missing."
echo "Please copy them to $directory/git/build/NurseBot_lib"
exit 1