quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] [PATCH] Simplify calling user-specified diff with origin


From: Jean Delvare
Subject: Re: [Quilt-dev] [PATCH] Simplify calling user-specified diff with original LANG environment
Date: Mon, 23 Mar 2020 14:32:07 +0100

On Fri, 2020-02-28 at 22:02 +0100, Urs Thuermann wrote:
> Author: Urs Thuermann <address@hidden>
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]