summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-07-22 14:10:51 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-07-22 23:34:31 +0200
commitc87f7103fe38434f0b88df5c2b080c7b558feabf (patch)
treedf3447b2a319201eb664ba7cf730a78b2ef2f1fa
parent2fd8b540c939d1dfdea3f42bd04a378035b3e070 (diff)
build-sys: hide error message from grep
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b715a34405..cef2539e27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -509,7 +509,7 @@ if test "z$with_distro" = "z"; then
if test "$cross_compiling" = yes; then
AC_MSG_WARN([Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)])
else
- with_distro=$($GREP '^ID=' /etc/os-release | $SED 's/ID=//');
+ with_distro=$($GREP '^ID=' /etc/os-release 2>/dev/null | $SED 's/ID=//');
fi
if test "z$with_distro" = "z"; then
with_distro=other