4
2
mirror of https://github.com/getbible/getverse.git synced 2024-11-21 20:05:10 +00:00

Fix to pass version as second arg.

This commit is contained in:
Llewellyn van der Merwe 2022-01-04 14:34:43 +02:00
parent bf9df3ef6b
commit 12f2658f9f
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ command -v curl >/dev/null 2>&1 || {
# set the query (default: 1 John 3:16-18)
SCRIPTURE="${1:-62 3:16-18}"
# set the translation (default: kjv)
: "${VERSION:=kjv}"
VERSION="${2:-kjv}"
# check if we have options
while :; do

View File

@ -12,7 +12,7 @@ command -v curl >/dev/null 2>&1 || {
# set the query (default: 1 John 3:16-18)
SCRIPTURE="${1:-62 3:16-18}"
# set the translation (default: kjv)
: "${VERSION:=kjv}"
VERSION="${2:-kjv}"
# check if we have options
while :; do