# Add tools and platform-tools directories to the system PATH if they exist
# (and are not already in the system PATH)
for toolpath in ~/adt-bundle-linux-x86_64/sdk/{platform-,}tools; do
    if [ -d $toolpath ] && ! echo $PATH | grep -q ${toolpath} ; then
        export PATH=${PATH}:${toolpath}
    fi
done

# Add tools and platform-tools directories to the system PATH if they exist
# (and are not already in the system PATH)
for toolpath in ~/adt-bundle-*/sdk/{platform-,}tools; do
    if [ -d $toolpath ] && ! echo $PATH | grep -q ${toolpath} ; then
        export PATH=${PATH}:${toolpath}
    fi
done

Support ADT bundle on any platform
Support ADT bundle on any platform
