Re: RFC: Sort tarballs created by the src-release.sh script

Andreas Schwab via Gdb-patches
2022-09-28T13:06:01Z

On Sep 28 2022, Nick Clifton via Gdb-patches wrote:

> diff --git a/src-release.sh b/src-release.sh
> index 079b545ae7c..caae5148034 100755
> --- a/src-release.sh
> +++ b/src-release.sh
> @@ -185,7 +185,7 @@ do_tar()
> echo "==> Making $package-$ver.tar"
> rm -f $package-$ver.tar
> find $package-$ver -follow \( $CVS_NAMES \) -prune \
> - -o -type f -print \
> + -o -type f -print | sort \

Better set LC_ALL=C to be independent from the locale sorting.

--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."