Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
[common] Match upstream format for first mix
Browse files Browse the repository at this point in the history
Only default to '1' when we don't have an upstream.

Signed-off-by: Murilo Belluzzo <[email protected]>
  • Loading branch information
mbelluzzo-intel committed Oct 17, 2018
1 parent ccbe6d2 commit 74db42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ get_downstream_version() {
DS_LATEST=$(cat ${STAGING_DIR}/latest 2>/dev/null) || true
if [[ -z $DS_LATEST ]]; then
info "Failed to fetch Downstream latest version. First Mix?"
DS_FORMAT=1
DS_FORMAT=${CLR_FORMAT:-1}
elif ((${#DS_LATEST} < 4)); then
error "Downstream Clear Linux version number seems corrupted."
exit 2
Expand Down

0 comments on commit 74db42c

Please sign in to comment.