github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/pkg/system/path_unix.go (about) 1 // +build !windows 2 3 package system 4 5 // DefaultPathEnv is unix style list of directories to search for 6 // executables. Each directory is separated from the next by a colon 7 // ':' character . 8 const DefaultPathEnv = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 9 10 // CheckSystemDriveAndRemoveDriveLetter verifies that a path, if it includes a drive letter, 11 // is the system drive. This is a no-op on Linux. 12 func CheckSystemDriveAndRemoveDriveLetter(path string) (string, error) { 13 return path, nil 14 }