diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index b70952cd95..5976ffb2da 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -33,14 +33,14 @@ ROOT_FS_DIR="$FLAGS_root" COREOS_VERSION_NAME="CoreOS" if [[ -n "${FLAGS_production_track}" ]]; then - if [[ "${$FLAGS_board}" == "amd64-usr" ]]; then + if [[ "${FLAGS_board}" == "amd64-usr" ]]; then FLAGS_production_track="alpha" fi COREOS_VERSION_TRACK="${FLAGS_production_track}" COREOS_VERSION_DESCRIPTION="${COREOS_VERSION_STRING} (Official Build) \ ${COREOS_VERSION_TRACK} $FLAGS_board test" if [[ "${FLAGS_production_track}" != "sdk" ]]; then - if [[ "${$FLAGS_board}" == "amd64-usr" ]]; then + if [[ "${FLAGS_board}" == "amd64-usr" ]]; then COREOS_VERSION_AUSERVER="https://public.roller.core-os.net/v1/update/" else COREOS_VERSION_AUSERVER="https://api.core-os.net/v1/update/" @@ -98,7 +98,8 @@ EOF # Aaaannd for the new systemd world order # os-release provides a separate build-id field, so split it from version OS_ID=$(tr '[:upper:]' '[:lower:]' <<<"$COREOS_VERSION_NAME") -sudo_clobber "${ROOT_FS_DIR}/etc/os-release" <