commit 20eaacf746acb58958c0fd28582171d66ec37e03
parent ab1493fa25dfd42d4b6a839533839c12df8c8848
Author: Julien Cristau <jcristau@mozilla.com>
Date: Tue, 14 Oct 2025 17:04:44 +0000
Bug 1994237 - fix unpack of tests archive in periodic-updates script. r=RyanVM DONTBUILD
Let tar figure out how to decompress so we don't have to change the
command when changing compression algorithms.
Differential Revision: https://phabricator.services.mozilla.com/D268580
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/taskcluster/docker/periodic-updates/scripts/periodic_file_updates.sh b/taskcluster/docker/periodic-updates/scripts/periodic_file_updates.sh
@@ -133,10 +133,9 @@ esac
BROWSER_ARCHIVE="target.tar.xz"
TESTS_ARCHIVE="target.common.tests.tar.zst"
-UNPACK_CMD="tar Jxf"
+UNPACK_CMD="tar xf"
COMMIT_AUTHOR='ffxbld <ffxbld@mozilla.com>'
WGET="wget -nv"
-UNTAR="tar -zxf"
DIFF="$(command -v diff) -u"
JQ="$(command -v jq)"
@@ -275,7 +274,7 @@ function unpack_artifacts {
${UNPACK_CMD} "${BROWSER_ARCHIVE}"
mkdir -p tests
cd tests
- ${UNTAR} "../${TESTS_ARCHIVE}"
+ ${UNPACK_CMD} "../${TESTS_ARCHIVE}"
cd "${BASEDIR}"
cp tests/bin/xpcshell "${PRODUCT}"
}