We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e5518c commit e54a99fCopy full SHA for e54a99f
bot/check-build.sh
@@ -479,11 +479,11 @@ if [[ $USE_CHECK_BUILD_ARTEFACTS_SCRIPT -eq 0 ]]; then
479
size_mib=$((${size} >> 20))
480
tmpfile=$(mktemp --tmpdir=. tarfiles.XXXX)
481
if [[ "${TARBALL}" == *.tar.zst ]]; then
482
- tar tf --use-compress-program=zstd ${TARBALL} > ${tmpfile}
+ tar --use-compress-program=zstd -tf ${TARBALL} > ${tmpfile}
483
elif [[ "${TARBALL}" == *.tar.gz ]]; then
484
- tar tf --use-compress-program=gzip ${TARBALL} > ${tmpfile}
+ tar --use-compress-program=gzip -tf ${TARBALL} > ${tmpfile}
485
elif [[ "${TARBALL}" == *.tar ]]; then
486
- tar tf ${TARBALL} > ${tmpfile}
+ tar -tf ${TARBALL} > ${tmpfile}
487
else
488
echo "ERROR: Unsupported tarball extension!" >&2
489
exit 1
0 commit comments