[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH 2/4] quilt: unset POSIXLY_CORRECT to ensure that patc
From: |
Raphaël Hertzog |
Subject: |
[Quilt-dev] [PATCH 2/4] quilt: unset POSIXLY_CORRECT to ensure that patch works non-interactively |
Date: |
Fri, 24 Feb 2012 00:27:37 +0100 |
POSIXLY_CORRECT=1 breaks quilt because quilt relies on patch working
non-interactively which is not the case in POSIX mode.
Bug-Debian: http://bugs.debian.org/462578
Reported-by: Brian M. Carlson <address@hidden>
Signed-off-by: Raphaël Hertzog <address@hidden>
---
Makefile.in | 1 +
bin/quilt.in | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 6912bca..f06c0ee 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -398,6 +398,7 @@ test/.%.ok : test/%.test
endif
@LANG=C; LC_ALL=C; \
export LANG LC_ALL; \
+ unset POSIXLY_CORRECT; \
$(CHECK_ENV); \
cd $(@D); \
./run -q $(<F)
diff --git a/bin/quilt.in b/bin/quilt.in
index 30df4dc..c7fcf8e 100644
--- a/bin/quilt.in
+++ b/bin/quilt.in
@@ -6,6 +6,10 @@
#
# See the COPYING and AUTHORS files for more details.
+# unset posix strict conformance variable since patch cannot be run
+# non-interactively when it's set.
+unset POSIXLY_CORRECT
+
export TEXTDOMAIN=quilt
export address@hidden@
--
1.7.9.1
- [Quilt-dev] Debian patches to merge, Raphaël Hertzog, 2012/02/23
- [Quilt-dev] [PATCH 3/4] quilt mail: force locale to C when generating date for the From header, Raphaël Hertzog, 2012/02/23
- [Quilt-dev] [PATCH 4/4] Force the sender in the "quilt mail" test suite, Raphaël Hertzog, 2012/02/23
- [Quilt-dev] [PATCH 2/4] quilt: unset POSIXLY_CORRECT to ensure that patch works non-interactively,
Raphaël Hertzog <=
- [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphaël Hertzog, 2012/02/23
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Andreas Gruenbacher, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphael Hertzog, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphael Hertzog, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Raphael Hertzog, 2012/02/24
- Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/29
Re: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory, Jean Delvare, 2012/02/29