Control: tags -1 patch

On 10/22/2013 10:39 AM, Vaclav Ovsik wrote:
> Is it possible to add sort after find, so the order will be deterministic?
> 
> --- /usr/sbin/update-ca-certificates~   2013-10-22 17:36:21.953351000 +0200
> +++ /usr/sbin/update-ca-certificates    2013-10-22 17:36:42.685350998 +0200
> @@ -121,7 +121,7 @@
>  # administrator.
>  if [ -d "$LOCALCERTSDIR" ]
>  then
> -  find -L "$LOCALCERTSDIR" -type f -name '*.crt' | while read crt
> +  find -L "$LOCALCERTSDIR" -type f -name '*.crt' | sort | while read crt
>    do
>      add "$crt"
>    done

This looks like a pretty trivial change to help out in your case, as
well as other large system folks that keep configs centrally managed.
Will do!

-- 
Kind regards,
Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to