From: Mike Frysinger Date: Wed, 31 Jul 2013 21:22:13 +0000 (-0400) Subject: support ~/depot_tools X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=03cc48425d03beb34b766b214a592b6480f078bf;p=home.git support ~/depot_tools --- 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"