From 2dba9d9b8df41173c1e70c4bcf022725fdc88059 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 8 Nov 2014 16:07:58 -0500 Subject: [PATCH] append depot_tools to $PATH rather than prepend to avoid conflicting with system tools --- .profile.d/google.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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" -- 2.39.2