summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Browaeys <prahal@yahoo.com>2013-01-21 10:55:58 +0100
committerRyan Lortie <desrt@desrt.ca>2013-01-22 12:03:27 -0500
commit7b2bd35e5c5876e2c6d379321f092ae504b66077 (patch)
tree597bb7741a98139dda76d8527ae2b0fb6dc1507f
parent36ffa9d6f4143af17f7a61b9ca14f681b0f2329d (diff)
downloaddconf-7b2bd35e5c5876e2c6d379321f092ae504b66077.tar.gz
build: "&>" is a advanced shell extension. Use > and 2>&1 instead.
dconf autogen.sh uses /bin/sh as shebang which on debian bind to dash. Dash has no support for "&>" redirection (both stdout and stderr). Thus it interpret the command as detach and redirect stdout. Switch to explicitely redirect stdout and stderr : "> /dev/null 2>&1" for which "&>" is a shorthand to fix the build failure. https://bugzilla.gnome.org/show_bug.cgi?id=692186
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 3973ddf..364c213 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,7 +8,7 @@ test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd "$srcdir"
-if automake-1.11 --version &> /dev/null; then
+if automake-1.11 --version > /dev/null 2>&1; then
automake_suffix='-1.11'
else
automake_suffix=''