mirror of
https://github.com/sigmasternchen/NurseBot
synced 2025-03-15 08:08:58 +00:00
fixed path issue
This commit is contained in:
parent
eae4e02360
commit
7cd18a4a29
1 changed files with 2 additions and 0 deletions
2
setup.sh
2
setup.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue