From: Antonio Ospite <ao2@ao2.it>
Date: Fri, 9 Oct 2015 16:43:02 +0000 (+0200)
Subject: setenv: in PATH give precedence to the local tools over the global ones
X-Git-Url: https://git.ao2.it/android/android-app-development-getting-started.git/commitdiff_plain/e6820df27fcf1a240b88a0d8954102587026f4f5?ds=sidebyside

setenv: in PATH give precedence to the local tools over the global ones

This creates a more "controlled" development environment.
---

diff --git a/setenv b/setenv
index 004eee1..133335f 100644
--- 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