From 03cc48425d03beb34b766b214a592b6480f078bf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 31 Jul 2013 17:22:13 -0400 Subject: [PATCH] support ~/depot_tools --- .profile.d/google.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.profile.d/google.sh b/.profile.d/google.sh index c8cd4ab..1185659 100644 --- a/.profile.d/google.sh +++ b/.profile.d/google.sh @@ -1,4 +1,8 @@ -path_prepend "`echo ~`/chromiumos/depot_tools" +if [ -d ~/depot_tools ] ; then + path_prepend "`echo ~`/depot_tools" +else + path_prepend "`echo ~`/chromiumos/depot_tools" +fi if [ -d ~/gentoo ] ; then export EPREFIX="$HOME/gentoo" path_append "$EPREFIX/usr/bin" -- 2.39.5