Browse Source

[1194] fix shell redirection

The shorthand is not portable (resulting in illegal or bad file
descriptor).
reed 13 years ago
parent
commit
1107b46ec3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -481,7 +481,7 @@ BOTAN_INCLUDES=`${BOTAN_CONFIG} --cflags`
 # this is not always the case.  As a heuristics workaround we add
 # -L`botan-config --prefix/lib` in this case.  Same for BOTAN_INCLUDES
 # (but using include instead of lib) below.
-if [ $BOTAN_CONFIG --prefix >& /dev/null ] ; then
+if [ $BOTAN_CONFIG --prefix >/dev/null 2>&1 ] ; then
     echo ${BOTAN_LDFLAGS} | grep -- -L > /dev/null || \
         BOTAN_LDFLAGS="-L`${BOTAN_CONFIG} --prefix`/lib ${BOTAN_LDFLAGS}"
     echo ${BOTAN_INCLUDES} | grep -- -I > /dev/null || \