mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Check for system shflags
This change checks for and sources shflags from /usr/lib before depending on the gclient-style path. TEST=None BUG=4230 Review URL: http://codereview.chromium.org/3010045 Change-Id: I3085c2356c40c691a2a72bf79c1d9167162d6dca
This commit is contained in:
parent
0faf7eb18d
commit
56de1dd852
@ -75,7 +75,11 @@ then
|
||||
fi
|
||||
|
||||
# Load shflags
|
||||
. "${SRC_ROOT}/scripts/lib/shflags/shflags"
|
||||
if [[ -f /usr/lib/shflags ]]; then
|
||||
. /usr/lib/shflags
|
||||
else
|
||||
. "${SRC_ROOT}/scripts/lib/shflags/shflags"
|
||||
fi
|
||||
|
||||
# Our local mirror
|
||||
DEFAULT_CHROMEOS_SERVER=${CHROMEOS_SERVER:-"http://build.chromium.org/mirror"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user