From: Mike Frysinger Date: Sat, 8 Nov 2014 21:07:58 +0000 (-0500) Subject: append depot_tools to $PATH rather than prepend to avoid conflicting with system... X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2dba9d9b8df41173c1e70c4bcf022725fdc88059;p=home.git append depot_tools to $PATH rather than prepend to avoid conflicting with system tools --- diff --git a/.profile.d/google.sh b/.profile.d/google.sh index 1286eca..20e72b9 100644 --- a/.profile.d/google.sh +++ b/.profile.d/google.sh @@ -1,7 +1,9 @@ if [ -d ~/depot_tools ] ; then - path_prepend "`echo ~`/depot_tools" -else - path_prepend "`echo ~`/chromiumos/depot_tools" + path_append "`echo ~`/depot_tools" +elif [ -d ~/chromiumos/depot_tools ] ; then + path_append "`echo ~`/chromiumos/depot_tools" +elif [ -d ~/chromiumos/chromium/tools/depot_tools ] ; then + path_append "`echo ~`/chromiumos/chromium/tools/depot_tools" fi if [ -d ~/gentoo ] ; then export EPREFIX="$HOME/gentoo"