[rtems-release commit] Do not use tar Jxf for uncompressed archives
Sebastian Huber
sebh at rtems.org
Tue Feb 15 08:18:47 UTC 2022
Module: rtems-release
Branch: master
Commit: 455255299d2cd0e4317acdd0363cfba50cb7da8d
Changeset: http://git.rtems.org/rtems-release/commit/?id=455255299d2cd0e4317acdd0363cfba50cb7da8d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Feb 15 09:26:32 2022 +0100
Do not use tar Jxf for uncompressed archives
GNU tar complains in this case.
---
rtems-release-package | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rtems-release-package b/rtems-release-package
index 6eb71ba..2df2fae 100755
--- a/rtems-release-package
+++ b/rtems-release-package
@@ -106,14 +106,14 @@ if [ ! -f ${stamped_tar}.tar ]; then
exit 1
fi
echo "tar xf ${stamped_tar}.tar"
-tar Jxf ${stamped_tar}.tar
+tar xf ${stamped_tar}.tar
if [ -n "${git_submodules}" ]; then
for s in ${git_submodules}
do
ok=$(echo ${git_submodules_excludes} | sed -e "s/.*${s}.*/no/g")
if [ "${ok}" != "no" ]; then
echo "tar xf ${stamped_tar}-${s}.tar"
- tar Jxf ${stamped_tar}-${s}.tar
+ tar xf ${stamped_tar}-${s}.tar
fi
done
fi
More information about the vc
mailing list