From: Theodore Ts'o Date: Wed, 2 Apr 2008 00:32:55 +0000 (-0400) Subject: Remove bashism from configure script X-Git-Tag: v1.40.9~19 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=27f991b04e38687b110c21672f1f8b8641f4e651;p=tools%2Fe2fsprogs.git Remove bashism from configure script Thanks to Mike Frysinger for pointing this out. Addresses-Sourceforge-Bug: 1921969 Signed-off-by: "Theodore Ts'o" --- diff --git a/configure b/configure index 623788b..dc4cac7 100755 --- 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 diff --git a/configure.in b/configure.in index 333d158..157816e 100644 --- a/configure.in +++ b/configure.in @@ -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