File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,21 +33,21 @@ function cmake_refresh_teeworlds_binary() {
3333 local build_dir=" $( get_cmake_build_dir) "
3434
3535 if [ -f " $CFG_GITPATH_ANTIBOT " /libantibot.so ] && \
36- [ -f " $CFG_GITPATH_ANTIBOT " /" $build_dir " /libantibot.so ]
36+ [ -f " $CFG_GITPATH_ANTIBOT " /build /libantibot.so ]
3737 then
3838 err " Error: found libantibot.so in root and build dir of $CFG_GITPATH_ANTIBOT "
3939 err " this is ambiguous. Please delete one of the files"
4040 err " "
4141 err " $CFG_GITPATH_ANTIBOT /libantibot.so"
42- err " $CFG_GITPATH_ANTIBOT /$build_dir /libantibot.so"
42+ err " $CFG_GITPATH_ANTIBOT /build /libantibot.so"
4343 err " "
4444 exit 1
4545 fi
4646
4747 local libantibot_path=' '
4848 for libantibot_path_candidate in \
4949 " $CFG_GITPATH_ANTIBOT " /libantibot.so \
50- " $CFG_GITPATH_ANTIBOT " /" $build_dir " /libantibot.so \
50+ " $CFG_GITPATH_ANTIBOT " /build /libantibot.so \
5151 " $CFG_GIT_PATH_MOD " /" $build_dir " /libantibot.so
5252 do
5353 if [ -f " $libantibot_path_candidate " ]
You can’t perform that action at this time.
0 commit comments