From 05dd0ce8f554cb397a9949a6361a5a1395401b2b Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 24 Sep 2007 13:22:03 -0500 Subject: [PATCH] Improve install.sh -- shopt -s nocasematch is not portable, try it and variant nocaseglob --- misc/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/install.sh b/misc/install.sh index e7d822f6c9..10c0bfc0df 100755 --- a/misc/install.sh +++ b/misc/install.sh @@ -5,6 +5,7 @@ set +e # Case insensitive string comparison shopt -s nocaseglob +shopt -s nocasematch ensure_program_installed() { echo -n "Checking for $1..." @@ -44,6 +45,7 @@ uname_s=`uname -s` case $uname_s in CYGWIN_NT-5.2-WOW64) OS=windows-nt;; *CYGWIN_NT*) OS=windows-nt;; + *CYGWIN*) OS=windows-nt;; *darwin*) OS=macosx;; *linux*) OS=linux;; esac