summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-09-19 10:21:24 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-09-19 10:24:13 +0300
commit410499bd40ab2f4fe4452e1a668bbcb37b41feac (patch)
tree240610d5b2465050197f35bbd00a325198c58bf8 /set_soenv.in
parentf0d4c09228206ca67ebc660baff0ff2e0316b105 (diff)
Surely /usr/bin already is in PATH on Cygwin
It would be a weird PATH otherwise. (And if that is the case, presumably there is a good reason for it, then, and we shouldn't force /usr/bin there.)
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-xset_soenv.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/set_soenv.in b/set_soenv.in
index 5fac10f54eb4..9261ccaf6f35 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1127,11 +1127,6 @@ elsif ($platform =~ m/cygwin/)
{
$PATH .= $ps.$tmppath;
}
- # Check if $CYGWIN_PATH is already set in PATH
- $tmppath = CygFormat($CYGWIN_PATH);
- if ( $PATH !~ /(?:[:]|\A)(?:$tmppath)(?:[:]|\Z)/ ) {
- $PATH .= $ps.$tmppath;
- }
# makensis directory
$NSIS_PATH = PathFormat('@NSIS_PATH@');
$tmppath = CygFormat($NSIS_PATH);