From 64202a61e01b10cabaa650fba5279590dfce59be Mon Sep 17 00:00:00 2001 From: Freddy Date: Tue, 20 Apr 2021 18:02:08 +0200 Subject: [PATCH] mapping-helper.sh: put maps in "maps" directory --- misc/tools/mapping-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools/mapping-helper.sh b/misc/tools/mapping-helper.sh index c28ddee2..5ad9ab32 100755 --- a/misc/tools/mapping-helper.sh +++ b/misc/tools/mapping-helper.sh @@ -16,8 +16,8 @@ create_stub () { [[ -d "${BASEDIR}/map-${MAPNAME}.pk3dir" ]] && { echo "Map ${MAPNAME} already exists"; exit -1; } TEMP=$(find ${BASEDIR} -maxdepth 1 -type d -name "map-"${MAPNAME}"_[[:digit:]].[[:digit:]][[:digit:]].pk3dir") [[ -n "${TEMP}" ]] && { echo "Map ${MAPNAME} already exists"; exit -1; } - mkdir -p "${BASEDIR}/map-${MAPNAME}_0.01.pk3dir/"{cubemaps,env,map,models,scripts,sounds,textures} - touch "${BASEDIR}/map-${MAPNAME}_0.01.pk3dir/map/${MAPNAME}_0.01.map" + mkdir -p "${BASEDIR}/map-${MAPNAME}_0.01.pk3dir/"{cubemaps,env,maps,models,scripts,sounds,textures} + touch "${BASEDIR}/map-${MAPNAME}_0.01.pk3dir/maps/${MAPNAME}_0.01.map" } package () { -- 2.39.2