From ced8fddbf40ed1e8dd8c0ba0ded1e3a435f0584a Mon Sep 17 00:00:00 2001 From: "james.wei@intel.com" Date: Wed, 5 Dec 2012 03:35:56 +0000 Subject: 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 --- build/install-chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') 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 -- cgit v1.1