Fix default path to chrome; now settable via .chromeos_dev.

Review URL: http://chromereview.prom.corp.google.com/1173052

git-svn-id: svn://chrome-svn/chromeos/trunk@50 06c00378-0e64-4dae-be16-12b19f9950a1
This commit is contained in:
rspangler@google.com 2009-10-14 21:13:00 +00:00
parent fe04414eea
commit 63ce1e4007

View File

@ -13,10 +13,10 @@
# Script must be run outside the chroot # Script must be run outside the chroot
assert_outside_chroot assert_outside_chroot
# This script defaults Chrome source is in /usr/local/google/home/$USER/chrome # This script defaults Chrome source is in ~/chrome
# You may override the Chrome source dir by passing in chrome_dir # You may override the Chrome source dir via the --chrome_dir option or by
# or with the CHROME_DIR environment variable # setting CHROMEOS_CHROME_DIR (for example, in ./.chromeos_dev)
DEFAULT_CHROME_DIR="${CHROME_DIR:-/usr/local/google/home/$USER/chrome}" DEFAULT_CHROME_DIR="${CHROMEOS_CHROME_DIR:-/home/$USER/chrome}"
# Flags # Flags
DEFINE_string chrome_dir "$DEFAULT_CHROME_DIR" \ DEFINE_string chrome_dir "$DEFAULT_CHROME_DIR" \