From b4546cc62192129b91eee19f1d6b27a880ce8b55 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Mon, 29 Oct 2012 22:29:49 +0100 Subject: [PATCH] Make grep in Cygwin path-stripping code case-sensitive for consistency The previous "case" check already is case-sensitive, so there is no point in making grep case-insensitive. Signed-off-by: Sebastian Schuberth --- etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile b/etc/profile index 4439ed60..da6a4649 100644 --- a/etc/profile +++ b/etc/profile @@ -24,7 +24,7 @@ fi # strip out cygwin paths from PATH case "$PATH" in */cygwin/*) - export PATH=$(p=$(echo $PATH | tr ":" "\n" | grep -vi "/cygwin/" | tr "\n" ":"); echo ${p%:}) + export PATH=$(p=$(echo $PATH | tr ":" "\n" | grep -v "/cygwin/" | tr "\n" ":"); echo ${p%:}) ;; esac -- 2.11.4.GIT