diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 02:26:05 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 02:26:05 +0000 |
commit | 6c7e007f28f871e84340727f948a4da10e979f80 (patch) | |
tree | c406dbf1d3ab25d0e1d974b55ce8be196f2727cb /chrome/tools | |
parent | b2fc5d85dbb11dcb55b37cde15b74143530f9df8 (diff) | |
download | chromium_src-6c7e007f28f871e84340727f948a4da10e979f80.zip chromium_src-6c7e007f28f871e84340727f948a4da10e979f80.tar.gz chromium_src-6c7e007f28f871e84340727f948a4da10e979f80.tar.bz2 |
Add /sbin and /usr/sbin to .keystone_install's PATH
BUG=28533
TEST=See bug 28533
Review URL: http://codereview.chromium.org/448002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rwxr-xr-x | chrome/tools/build/mac/keystone_install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/tools/build/mac/keystone_install.sh b/chrome/tools/build/mac/keystone_install.sh index 2ca3323..e4fd4cb 100755 --- a/chrome/tools/build/mac/keystone_install.sh +++ b/chrome/tools/build/mac/keystone_install.sh @@ -23,6 +23,13 @@ set -e +# http://b/2290916: Keystone runs the installation with a restrictive PATH +# that only includes the directory containing ksadmin, /bin, and /usr/bin. It +# does not include /sbin or /usr/sbin. This script uses lsof, which is in +# /usr/sbin, and it's conceivable that it might want to use other tools in an +# sbin directory. Adjust the path accordingly. +export PATH="${PATH}:/sbin:/usr/sbin" + # Returns 0 (true) if the parameter exists, is a symbolic link, and appears # writable on the basis of its POSIX permissions. This is used to determine # writeability like test's -w primary, but -w resolves symbolic links and this |