Whamcloud - gitweb
Remove bashism from configure script
authorTheodore Ts'o <tytso@mit.edu>
Wed, 2 Apr 2008 00:32:55 +0000 (20:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 2 Apr 2008 00:32:55 +0000 (20:32 -0400)
Thanks to Mike Frysinger for pointing this out.

Addresses-Sourceforge-Bug: 1921969

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
configure
configure.in

index 623788b..dc4cac7 100755 (executable)
--- a/configure
+++ b/configure
@@ -15107,7 +15107,7 @@ _ACEOF
 fi
 { echo "$as_me:$LINENO: checking for unified diff option" >&5
 echo $ECHO_N "checking for unified diff option... $ECHO_C" >&6; }
-if diff -u $0 $0 >& /dev/null ; then
+if diff -u $0 $0 > /dev/null 2>&1 ; then
    UNI_DIFF_OPTS=-u
 else
    UNI_DIFF_OPTS=-c
index 333d158..157816e 100644 (file)
@@ -760,7 +760,7 @@ dnl
 dnl Check for unified diff
 dnl
 AC_MSG_CHECKING(for unified diff option)
-if diff -u $0 $0 >& /dev/null ; then
+if diff -u $0 $0 > /dev/null 2>&1 ; then
    UNI_DIFF_OPTS=-u
 else
    UNI_DIFF_OPTS=-c