This is an experimental copy for testing Poikilos' issue mirroring system. Note that Gitea's migration tool can import issues, but the "Issues" checkbox is disabled when "This repository will be a mirror" is enabled (it is for this repo).
You can not select more than 25 topicsTopics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
extra_msg=", but minetest/bin/$EXE_NAME exists, so you can probably run lmk-run again and it will probably run (after syncing to the tmp world as usual)."
fi
>&2 echo "[lmk-run] Error: '$PRE_CMD perl mtcompile-program.pl build --$LMK_MODE $APP_ARG' failed in `pwd` with code $code"
>&2 echo "[lmk-run] 'cd minebest/bin' failed in `pwd`."
fi
#if "x$APP" = "xserver" ]; then
echo "* Looking for a test world to copy..."
if [ "x$SRC_WORLD" = "x" ]; then
SRC_WORLD="$3"
else
SRC_WORLD=
fi
if [ "x$SRC_WORLD" = "x" ]; then
for dir in ~/minetest-220509/worlds/bg190406 /home/owner/bg190406
do
printf "* checking for \"$dir\"..."
if [ -d $dir ]; then
SRC_WORLD="$dir"
break
fi
done
fi
if [ "x$SRC_WORLD" = "x" ]; then
echo "No known test world was found. Try making a small world first, and specify it as the 3rd parameter or set SRC_WORLD in the environment. Note that the gameid in the file must exist."
exit 1
else
echo "[lmk-run] found $SRC_WORLD to copy"
fi
world_name="`basename $SRC_WORLD`"
mkdir -p ~/tmp
dst_world="$HOME/tmp/${world_name}-$EXE_NAME"
echo "[lmk-run] syncing to $dst_world destructively..."