setenv: in PATH give precedence to the local tools over the global ones
authorAntonio Ospite <ao2@ao2.it>
Fri, 9 Oct 2015 16:43:02 +0000 (18:43 +0200)
committerAntonio Ospite <ao2@ao2.it>
Fri, 9 Oct 2015 16:43:02 +0000 (18:43 +0200)
This creates a more "controlled" development environment.

setenv

diff --git a/setenv b/setenv
index 004eee1..133335f 100644 (file)
--- a/setenv
+++ b/setenv
@@ -5,4 +5,4 @@
 ANDROID_BASE_DIR=$HOME/Android
 
 export ANDROID_HOME=$ANDROID_BASE_DIR/android-sdk-linux
-export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools
+export PATH=$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$PATH