fix build.sh if sh != dash
This commit is contained in:
parent
795e0b6132
commit
d60ba5ce2b
2
build.sh
2
build.sh
|
@ -88,7 +88,7 @@ if ! $cont; then
|
||||||
echo "Building Gluon ${GLUON_TAG} as ${GLUON_BRANCH}"
|
echo "Building Gluon ${GLUON_TAG} as ${GLUON_BRANCH}"
|
||||||
last_release_testing="$(get_last_release testing)"
|
last_release_testing="$(get_last_release testing)"
|
||||||
last_release_stable="$(get_last_release stable)"
|
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}"
|
echo "Last release was ${last_release}"
|
||||||
if is_based_on "$last_release" "$GLUON_TAG"; then
|
if is_based_on "$last_release" "$GLUON_TAG"; then
|
||||||
local_version="$(extract_local_version "$last_release")"
|
local_version="$(extract_local_version "$last_release")"
|
||||||
|
|
Loading…
Reference in New Issue