Chromium Code Reviews| Index: ninja |
| =================================================================== |
| --- ninja (revision 172082) |
| +++ ninja (working copy) |
| @@ -8,7 +8,11 @@ |
| THIS_DIR="$(dirname "${0}")" |
| if [ "${OS}" = "Linux" ]; then |
| - exec "${THIS_DIR}/ninja-linux64" "$@" |
| + if [ -n "`uname -a | grep x86_64`" ]; then |
|
Nico
2012/12/10 20:15:29
Does this work with a 64bit kernel and 32bit userl
szager1
2012/12/10 20:23:31
Not sure I understand the desired effect here. On
|
| + exec "${THIS_DIR}/ninja-linux64" "$@" |
| + else |
| + exec "${THIS_DIR}/ninja-linux32" "$@" |
| + fi |
| elif [ "${OS}" = "Darwin" ]; then |
| exec "${THIS_DIR}/ninja-mac" "$@" |
| elif [[ ${OS} == CYGWIN* ]]; then |