bash adds dot to $PATH (was: Re: $PATH contains dot but unclear where it comes from)

Andrey Repin anrdaemon@yandex.ru
Wed Mar 26 20:13:00 GMT 2014


Greetings, Robert Klemme!

> C:\Users\rklemme>C:\cygwin64\bin\bash.exe -i -x -c exit >bash-log.txt 2>&1

> First line that contains PATH looks like this:

> ++ PATH='/cygdrive/c/PROGRAM FILES (X86)/NVIDIA
> CORPORATION/PHYSX/COMMON:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS
> CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM
> FILES (X86)/RSA SECURID TOKEN COMMON:/cygdrive/c/PROGRAM FILES/COMMON
> FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES
> (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS
> LIVE:/cygdrive/c/Windows/SYSTEM32:/cygdrive/c/Windows:/cygdrive/c/Windows/SYSTEM32/WBEM:/cygdrive/c/Windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM
> FILES/DELL/DELL DATA PROTECTION/ACCESS/ADVANCED/WAVE/GEMALTO/ACCESS
> CLIENT/V5:/cygdrive/c/PROGRAM FILES (X86)/NTRU CRYPTOSYSTEMS/NTRU TCG
> SOFTWARE STACK/BIN:/cygdrive/c/PROGRAM FILES/NTRU CRYPTOSYSTEMS/NTRU
> TCG SOFTWARE STACK/BIN:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS
> LIVE/SHARED:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE
> COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT
> ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R)
> MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES
> (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE
> COMPONENTS/IPT:/cygdrive/c/Program Files/WIDCOMM/Bluetooth
> Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth
> Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL
> SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL
> SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management
> Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R)
> Management Engine Components/IPT:/cygdrive/c/Program Files
> (x86)/Intel/Intel(R) Management Engine
> Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R)
> Management Engine Components/IPT:/cygdrive/c/Program
> Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common
> Files/Intel/WirelessCommon:/cygdrive/c/Users/rklemme/Applications/SysinternalsSuite:.:/sbin:/usr/sbin:/usr/local/sbin'

> You can spot the dot after "SysinternalsSuite".

This is very strange. Standard bash startup scripts insert Cygwin dirs before
windows PATH, and they do not add sbin to it.
This is definitely a hand work of yours or someone else.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 26.03.2014, <23:08>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list