Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29034983 authored by Doug Zongker's avatar Doug Zongker
Browse files

don't use bashism just to remove trailing ':'

Change-Id: I9f86baa65406ac547cee70a273eb730ca47df66b
parent ddbcad8c
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -100,8 +100,9 @@ function setpaths()
        export PATH=${PATH/$ANDROID_BUILD_PATHS/}
    fi
    if [ -n $ANDROID_PRE_BUILD_PATHS ] ; then
        shopt -s extglob
        export PATH=${PATH/$ANDROID_PRE_BUILD_PATHS?(:)/}
        export PATH=${PATH/$ANDROID_PRE_BUILD_PATHS/}
        # strip trailing ':', if any
        export PATH=${PATH/%:/}
    fi

    # and in with the new