[rtems-release commit] Do not use tar Jxf for uncompressed archives

Chris Johns chrisj at rtems.org
Thu Feb 17 03:11:17 UTC 2022


Hi Sebastian,

I would like to approve all commits to this repo.

Why have you made this change?

Thanks
Chris

On 15/2/22 7:18 pm, Sebastian Huber wrote:
> 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
> 
> _______________________________________________
> vc mailing list
> vc at rtems.org
> http://lists.rtems.org/mailman/listinfo/vc


More information about the devel mailing list