Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
f6a7beae
Commit
f6a7beae
authored
Dec 27, 2016
by
Raymond Toy
Browse files
Use the default version if possible
If -V isn't given, try to use the default, if possible.
parent
54eceec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/make-dist.sh
View file @
f6a7beae
...
...
@@ -130,10 +130,15 @@ if [ $# -lt 1 ]; then
usage
fi
# Either VERSION or DEFAULT_VERSION must be non-empty
if
[
-z
"
$VERSION
"
-a
-z
"
${
DEFAULT_VERSION
}
"
]
;
then
echo
"Version (-V) must be specified because default version cannot be determined."
usage
if
[
-z
"
$VERSION
"
]
;
then
# If a default version exists, use it. Otherwise this is an
# error---at least one of these must not be empty.
if
[
-z
"
${
DEFAULT_VERSION
}
"
]
;
then
echo
"Version (-V) must be specified because default version cannot be determined."
usage
else
VERSION
=
${
DEFAULT_VERSION
}
fi
fi
if
[
!
-d
"
$1
"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment