From 20b82091599338d8d163a906786d972459f8786c Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Thu, 20 Mar 2025 03:51:57 -0400 Subject: [PATCH] Nicer Archives --- scripts/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 0cb0ca4..cea52f9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -13,6 +13,9 @@ for type in *; do cd "${type}" ../../crosstool-ng/ct-ng build # Compress - tar -cJf "${out}/arm-toolchain-${type}.tar.xz" out + NAME="arm-toolchain-${type}" + mv out "${NAME}" + tar -cJf "${OUT}/${NAME}.tar.xz" "${NAME}" + rm -rf "${NAME}" cd ../ done \ No newline at end of file