Also remove the trailing : if it is present
Change-Id: Icdbc197803d0f759a4656a2bc2182216d14997b3
This commit is contained in:
parent
6bb42fb0a6
commit
f6cb2d3ec9
|
@ -100,7 +100,8 @@ function setpaths()
|
|||
export PATH=${PATH/$ANDROID_BUILD_PATHS/}
|
||||
fi
|
||||
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
|
||||
|
||||
# and in with the new
|
||||
|
|
Loading…
Reference in New Issue