]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Cleaning up release script
authorz411 <z411@omaera.org>
Mon, 21 Feb 2022 04:40:42 +0000 (01:40 -0300)
committerz411 <z411@omaera.org>
Mon, 21 Feb 2022 04:40:42 +0000 (01:40 -0300)
misc/tools/all/release.subr

index ca05353cd35ea9fbc4634fc96758b9cacaad0d87..88c972b57f3721bb4de6ecc447a9bbc1fa42ce83 100644 (file)
@@ -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