Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Fix test-in-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dritter committed Jun 26, 2018
1 parent 280098b commit 10fa59d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test-in-docker
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ err()
resolve_framework() {
local f=$1 found
found=${frameworks[(In:-1:)$f*]}
if (( found <= $#frameworks )); then
echo "${frameworks[$found]}"
if (( found <= ${#frameworks} )); then
echo "${1}"
fi
}

Expand Down Expand Up @@ -162,7 +162,7 @@ while (( $# > 0 )); do
if [[ -z "$use_framework" ]]; then
local f="$(resolve_framework "$1")"
if [[ -n "$f" ]]; then
use_framework=$f
use_framework="${f}"
else
err "No such framework '${1}'"
fi
Expand Down

0 comments on commit 10fa59d

Please sign in to comment.