]> git.wh0rd.org - home.git/blobdiff - .profile.d/google.sh
support ~/depot_tools
[home.git] / .profile.d / google.sh
index c8cd4ab28f458347a3aeda1c60b9299bf0326dc3..1185659bdcae256e1b75bf4558838cccaf844c9b 100644 (file)
@@ -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"