summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames.wei@intel.com <james.wei@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 03:35:56 +0000
committerjames.wei@intel.com <james.wei@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 03:35:56 +0000
commitced8fddbf40ed1e8dd8c0ba0ded1e3a435f0584a (patch)
tree570f834b007e5f5ff8199615d491bd4a72c79938
parent90e1be849895c025d83bd52bd26fab2788eb525d (diff)
downloadchromium_src-ced8fddbf40ed1e8dd8c0ba0ded1e3a435f0584a.zip
chromium_src-ced8fddbf40ed1e8dd8c0ba0ded1e3a435f0584a.tar.gz
chromium_src-ced8fddbf40ed1e8dd8c0ba0ded1e3a435f0584a.tar.bz2
Use chroot name instead of full path chroot command
chroot name is desired for -c option instead of the full path chroot command BUG= Review URL: https://chromiumcodereview.appspot.com/11418284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171145 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xbuild/install-chroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/install-chroot.sh b/build/install-chroot.sh
index d2c06fc..af85fb1 100755
--- a/build/install-chroot.sh
+++ b/build/install-chroot.sh
@@ -769,7 +769,7 @@ if [ ! -h "${HOME}/chroot" ] &&
fi
# Clean up package files
-sudo schroot -c /usr/local/bin/"${target%bit}" -p -- apt-get clean
+sudo schroot -c "${target%bit}" -p -- apt-get clean
sudo apt-get clean
trap '' INT TERM QUIT HUP