On Fri, 2020-02-28 at 22:02 +0100, Urs Thuermann wrote:
> Author: Urs Thuermann <[email protected]>
> Date:   Tue Feb 11 06:42:02 2020 +0100
> 
> Simplify calling user-specified diff with original LANG environment
> 
> diff --git a/quilt/diff.in b/quilt/diff.in
> index dc021f0..edee329 100644
> --- a/quilt/diff.in
> +++ b/quilt/diff.in
> @@ -113,9 +113,7 @@ do_diff()
>               [ -s "$new_file" ] || new_file=/dev/null
>               if ! diff -q "$old_file" "$new_file" >/dev/null
>               then
> -                     export LANG=$ORIGINAL_LANG
> -                     $opt_diff "$old_file" "$new_file"
> -                     export LANG=POSIX
> +                     LANG=$ORIGINAL_LANG $opt_diff "$old_file" "$new_file"
>                       true
>               fi
>       else

Applied, thanks.

-- 
Jean Delvare
SUSE L3 Support

_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to