Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
|
M-A Ruel
2012/04/13 20:09:19
copyright header
scottmg
2012/04/13 20:17:05
Done.
| |
| 2 | 2 |
| 3 OS="$(uname -s)" | 3 OS="$(uname -s)" |
| 4 | 4 |
| 5 if [ "${OS}" = "Linux" ]; then | 5 if [ "${OS}" = "Linux" ]; then |
| 6 exec ninja-linux64 "$@" | 6 exec ninja-linux64 "$@" |
| 7 elif [ "${OS}" = "Darwin" ]; then | 7 elif [ "${OS}" = "Darwin" ]; then |
| 8 exec ninja-mac "$@" | 8 exec ninja-mac "$@" |
| 9 elif [ "${OS}" = "CYGWIN_NT-6.1-WOW64" ]; then | |
|
M-A Ruel
2012/04/13 20:09:19
Strictly speaking, WOW64 is not guaranteed but in
scottmg
2012/04/13 20:17:05
Done.
| |
| 10 exec cmd /c `cygpath -t windows $0`.bat "$@" | |
|
M-A Ruel
2012/04/13 20:09:19
cmd.exe
scottmg
2012/04/13 20:17:05
Done.
| |
| 9 else | 11 else |
| 10 echo "Unsupported OS ${OS}" | 12 echo "Unsupported OS ${OS}" |
| 11 exit 1 | 13 exit 1 |
| 12 fi | 14 fi |
| 13 | 15 |
| OLD | NEW |