From 1d4308af73d24c485e7a4b05bb5c83dabb40d7c3 Mon Sep 17 00:00:00 2001 From: z411 Date: Mon, 21 Feb 2022 01:40:42 -0300 Subject: [PATCH] Cleaning up release script --- misc/tools/all/release.subr | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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 -- 2.39.2