do not hardcode the full version
This commit is contained in:
parent
69747630a9
commit
f0570182b8
2 changed files with 15 additions and 10 deletions
|
@ -71,6 +71,8 @@ function teardown() {
|
|||
function main() {
|
||||
local binary="$1"
|
||||
shift
|
||||
export full_version="$1"
|
||||
shift
|
||||
export version="$1"
|
||||
shift
|
||||
|
||||
|
@ -79,7 +81,7 @@ function main() {
|
|||
teardown
|
||||
|
||||
if test "$#" = 0 ; then
|
||||
examples=$(examples_$version)
|
||||
examples=$(examples_${version/./_})
|
||||
else
|
||||
examples="$@"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue