summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2015-06-19 01:25:27 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-07-02 09:55:32 +0200
commitac497ccd6c6bd811b5f4d4e257dd60222b54342d (patch)
tree4dc5f22f5f2f3c2151a1980932755a163378fcdb /autogen.sh
parent39ed60dc6020b9afbafb1ab0f4d0157e7bf7cd8c (diff)
downloadNetworkManager-ac497ccd6c6bd811b5f4d4e257dd60222b54342d.tar.gz
autogen.sh: print errors to stderr, printf instead echo -n
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 5ec9a5aa88..7f97668538 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
}