changed some stuff

This commit is contained in:
Nikolas Weger 2018-02-08 22:42:17 +01:00
parent 633c30dc99
commit 704937edfe

View file

@ -17,7 +17,7 @@ path+=(${dotlib}/basher/bin ${BASHER_ROOT}/cellar/bin) # Basher
path+=(${gembin}) # Ruby Gems
path+=(/usr/lib/jvm/default/bin) # Java
if type pacman &>/dev/null; then
if pacman -Qm android-sdk-build-tools 2>/dev/null; then
if pacman -Qm android-sdk-build-tools &>/dev/null; then
asdkver="$(pacman -Qm android-sdk-build-tools | awk '{print $2}' | cut -d'-' -f1 | cut -d'r' -f2)"
path+=(/opt/android-sdk/build-tools/${asdkver}); # Android SDK
fi