Skip to content

Commit 7b5a4ce

Browse files
committed
need bin dir even sooner for server bin
1 parent 1c3f399 commit 7b5a4ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/include/update/cmake.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ get_cmake_build_dir() {
1313

1414
function cmake_refresh_teeworlds_binary() {
1515
local build_dir
16+
mkdir -p "${SCRIPT_ROOT}/bin"
1617
build_dir="$(get_cmake_build_dir)"
1718
if [ ! -f "$CFG_GIT_PATH_MOD/$build_dir/$CFG_COMPILED_BIN" ]
1819
then
@@ -62,7 +63,6 @@ function cmake_refresh_teeworlds_binary() {
6263
if [ "$libantibot_path" != "" ]
6364
then
6465
log "move libantibot.so ..."
65-
mkdir -p "${SCRIPT_ROOT}/bin"
6666
cp "$libantibot_path" "$libantibot_runtime_path"
6767
else
6868
err "Error: libantibot.so not found"

0 commit comments

Comments
 (0)