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
_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev