Skip to content

Commit

Permalink
Fix --distribution-label erroneously requiring --development.
Browse files Browse the repository at this point in the history
Reported by @ensra.
  • Loading branch information
SadieCat committed May 3, 2019
1 parent 68e5d0a commit 044fa99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -261,7 +261,7 @@ EOW
}

# Check that the user actually wants this version.
if ($version{LABEL} ne 'release') {
if (defined $version{REAL_LABEL}) {
print_warning <<'EOW';
You are building a development version. This contains code which has
not been tested as heavily and may contain various faults which could seriously
Expand Down
1 change: 1 addition & 0 deletions make/common.pm
Expand Up @@ -68,6 +68,7 @@ sub get_version {

# If the user has specified a distribution label then we use it in
# place of the label from src/version.sh or Git.
$version{REAL_LABEL} = $version{LABEL};
$version{LABEL} = shift // $version{LABEL};

# If any of these fields are missing then the user has deleted the
Expand Down

0 comments on commit 044fa99

Please sign in to comment.