Also remove the trailing : if it is present
Change-Id: Icdbc197803d0f759a4656a2bc2182216d14997b3
This commit is contained in:
@@ -100,7 +100,8 @@ function setpaths()
|
|||||||
export PATH=${PATH/$ANDROID_BUILD_PATHS/}
|
export PATH=${PATH/$ANDROID_BUILD_PATHS/}
|
||||||
fi
|
fi
|
||||||
if [ -n $ANDROID_PRE_BUILD_PATHS ] ; then
|
if [ -n $ANDROID_PRE_BUILD_PATHS ] ; then
|
||||||
export PATH=${PATH/$ANDROID_PRE_BUILD_PATHS/}
|
shopt -s extglob
|
||||||
|
export PATH=${PATH/$ANDROID_PRE_BUILD_PATHS?(:)/}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# and in with the new
|
# and in with the new
|
||||||
|
Reference in New Issue
Block a user