From: z411 Date: Mon, 21 Feb 2022 04:40:42 +0000 (-0300) Subject: Cleaning up release script X-Git-Tag: xonotic-v0.8.5~14^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1d4308af73d24c485e7a4b05bb5c83dabb40d7c3;p=xonotic%2Fxonotic.git Cleaning up release script --- diff --git a/misc/tools/all/release.subr b/misc/tools/all/release.subr index ca05353c..88c972b5 100644 --- a/misc/tools/all/release.subr +++ b/misc/tools/all/release.subr @@ -273,23 +273,24 @@ case "$cmd" in arch=$1 buildpath=$2 targetdir=$3 - mkdir -p "$d0/$targetdir" - cd "$d0/misc/buildsrc" - verbose ./dlls.sh all "$buildpath" "$arch" - verbose cp -v $buildpath/out/$arch/* "$d0/$targetdir" - cd "$d0" + mkdir -p "$targetdir" + ( + cd "$misc/buildsrc" + verbose ./dlls.sh all "$buildpath" "$arch" + ) + verbose cp -v $buildpath/out/$arch/* "$targetdir" ;; - release-dlls-win32) + release-dlls-win32) release_common verbose "$SELF" release-dlls-compile win32 /tmp/dlls Xonotic/bin32 ;; - release-dlls-win64) + release-dlls-win64) release_common verbose "$SELF" release-dlls-compile win64 /tmp/dlls Xonotic/bin64 ;; release-dlls-clean) release_common - verbose $d0/misc/buildsrc/dlls.sh clean /tmp/dlls + verbose misc/buildsrc/dlls.sh clean /tmp/dlls ;; release-dlls) release_common