fix build.sh if sh != dash

This commit is contained in:
Martin Geno 2016-07-02 15:50:54 +02:00
parent 795e0b6132
commit d60ba5ce2b
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ if ! $cont; then
echo "Building Gluon ${GLUON_TAG} as ${GLUON_BRANCH}"
last_release_testing="$(get_last_release testing)"
last_release_stable="$(get_last_release stable)"
last_release="$(echo -e "${last_release_testing}\n${last_release_stable}" | sort -V | tail -n1)"
last_release="$(/bin/echo -e "${last_release_testing}\n${last_release_stable}" | sort -V | tail -n1)"
echo "Last release was ${last_release}"
if is_based_on "$last_release" "$GLUON_TAG"; then
local_version="$(extract_local_version "$last_release")"