diff options
author | Matt Rendina <rendinam@users.noreply.github.com> | 2018-02-22 16:02:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 16:02:18 -0500 |
commit | 4ea209d2a0377b9f9794d12eb2b9d8647aacd6f5 (patch) | |
tree | 187fceac8a994cc69d2d0cd09177050ca53de4bc | |
parent | 01000868054da2b86298c623ca354286f7568ca8 (diff) | |
parent | e29cbc5eae6219a4814ac34f020e6cae083b6983 (diff) | |
download | delivery_control-4ea209d2a0377b9f9794d12eb2b9d8647aacd6f5.tar.gz |
Merge pull request #3 from rendinam/suffix_select
Allow padded numeric as well as text delivery name suffixes.
-rwxr-xr-x | mktestenv.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mktestenv.sh b/mktestenv.sh index 553bc09..8a84b9e 100755 --- a/mktestenv.sh +++ b/mktestenv.sh @@ -49,7 +49,10 @@ while (( "${#}" )); do shift 2 ;; -i|--iteration) - ITER=$(printf %02d ${2}) + case ${2} in + ''|*[!0-9]*) ITER=${2} ;; + *) ITER=$(printf %02d ${2}) ;; + esac shift 2 ;; --) # end argument parsing |