Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1109)

Unified Diff: common.sh

Issue 4177005: 1. Not to assert inside chroot, if so desired. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: not to assert inside chroot, if so desired. Source shflags, if they are in the current directory Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cros_generate_update_payload » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common.sh
diff --git a/common.sh b/common.sh
index 9a9699ede7f5d44a22823bbf148046cfc138c754..25abd9b4c3684fcea954e74c00f55b35b23dfd8f 100644
--- a/common.sh
+++ b/common.sh
@@ -77,6 +77,8 @@ fi
# Load shflags
if [[ -f /usr/lib/shflags ]]; then
. /usr/lib/shflags
+elif [ -f ./lib/shflags/shflags ]; then
+ . "./lib/shflags/shflags"
else
. "${SRC_ROOT}/scripts/lib/shflags/shflags"
fi
« no previous file with comments | « no previous file | cros_generate_update_payload » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698