summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-09 15:06:14 +0000
committertruebrain <truebrain@openttd.org>2011-12-09 15:06:14 +0000
commitc53440c1032c56912f71cb1e575d4523a9820abb (patch)
treec1e315e63302296824a1f3e75e8587e31bd8b404
parent01745c8226e3cdd9ff56f9c89a246fbcdc5fc5bf (diff)
downloadopenttd-c53440c1032c56912f71cb1e575d4523a9820abb.tar.xz
(svn r23455) -Fix (r23438): send the stderr in the right part to /dev/null
-rw-r--r--config.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib
index 8f1868226..f41d1c76a 100644
--- a/config.lib
+++ b/config.lib
@@ -3084,7 +3084,7 @@ detect_grfcodec() {
grfcodec="$with_grfcodec"
fi
- version=`$grfcodec -v | $awk '{print $3}' | sed 's/[rM]//g;s/-/0/' 2>/dev/null`
+ version=`$grfcodec -v 2>/dev/null | $awk '{print $3}' | sed 's/[rM]//g;s/-/0/'`
ret=$?
log 2 "executing grfcodec -v"
log 2 " returned $version"
@@ -3126,7 +3126,7 @@ detect_nforenum() {
nforenum="$with_nforenum"
fi
- version=`$nforenum -v | $awk '{print $3}' | sed 's/[rM]//g;s/-/0/' 2>/dev/null`
+ version=`$nforenum -v 2>/dev/null | $awk '{print $3}' | sed 's/[rM]//g;s/-/0/'`
ret=$?
log 2 "executing nforenum -v"
log 2 " returned $version"