]> git.wh0rd.org - home.git/commitdiff
append depot_tools to $PATH rather than prepend to avoid conflicting with system...
authorMike Frysinger <vapier@gentoo.org>
Sat, 8 Nov 2014 21:07:58 +0000 (16:07 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 8 Nov 2014 21:07:58 +0000 (16:07 -0500)
.profile.d/google.sh

index 1286eca951dd067b53b836c312eb61ce53c1effb..20e72b9b9042409f64ae379d311350083ac8d327 100644 (file)
@@ -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"