5 if ! lockfile-create "$me"; then
8 lockfile-touch "$me" & lockpid=$!
9 trap 'kill $lockpid || true; cd "$mepwd"; lockfile-remove "$me"' EXIT
10 trap 'exit 1' INT TERM
13 cd xonotic-map-compiler
15 # like reclone but do not delete untracked, so q3map2.x86 compile stays
16 make -C netradiant install/q3map2.x86
17 ./misc/tools/xonotic-map-compiler-autobuild build