common/autoconf/basics_windows.m4

changeset 577
3540aa40c868
parent 502
ed9e5635fc80
child 726
c31e9dc1fe3d
     1.1 --- a/common/autoconf/basics_windows.m4	Fri Jan 11 10:46:59 2013 +0100
     1.2 +++ b/common/autoconf/basics_windows.m4	Mon Jan 14 13:09:59 2013 +0100
     1.3 @@ -175,7 +175,7 @@
     1.4    # bat and cmd files are not always considered executable in cygwin causing which
     1.5    # to not find them
     1.6    if test "x$new_path" = x \
     1.7 -           && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
     1.8 +           && test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
     1.9             && test "x`$LS \"$path\" 2>/dev/null`" != x; then
    1.10      new_path=`$CYGPATH -u "$path"`
    1.11    fi
    1.12 @@ -191,7 +191,7 @@
    1.13      # bat and cmd files are not always considered executable in cygwin causing which
    1.14      # to not find them
    1.15      if test "x$new_path" = x \
    1.16 -             && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
    1.17 +             && test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
    1.18               && test "x`$LS \"$path\" 2>/dev/null`" != x; then
    1.19        new_path=`$CYGPATH -u "$path"`
    1.20      fi

mercurial