]> git.wh0rd.org Git - home.git/commitdiff
support ~/depot_tools
authorMike Frysinger <vapier@gentoo.org>
Wed, 31 Jul 2013 21:22:13 +0000 (17:22 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 31 Jul 2013 21:22:13 +0000 (17:22 -0400)
.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"