Re: [PATCH v2 2/2] autogen.sh: print errors to stderr, printf instead echo -n
- From: Lubomir Rintel <lkundrak v3 sk>
- To: Dan Williams <dcbw redhat com>, Petr Vorel <petr vorel gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH v2 2/2] autogen.sh: print errors to stderr, printf instead echo -n
- Date: Thu, 02 Jul 2015 09:57:32 +0200
On Wed, 2015-07-01 at 16:05 -0500, Dan Williams wrote:
On Fri, 2015-06-19 at 01:25 +0200, Petr Vorel wrote:
Signed-off-by: Petr Vorel <petr vorel gmail com>
---
autogen.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index a7e1c17..b4394bf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,8 +15,8 @@ PKG_NAME=NetworkManager
(test -f $srcdir/configure.ac \
&& test -f $srcdir/src/main.c) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like
the"
- echo " top-level $PKG_NAME directory"
+ printf "**Error**: Directory "\`$srcdir\'" does not look like
the" >&2
+ echo " top-level $PKG_NAME directory" >&2
exit 1
}
This patch at least seems OK to me...
Dan
Yes, applied.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]