File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ exec 1>&2 # redirect all output to stderr for logging
88payload=$( cat < & 0)
99
1010source_family=$( jq -r ' .source.family // empty' <<< " ${payload}" )
11- if [[ -z ${source_family} ]]; then
11+ if [[ -z " ${source_family} " ]]; then
1212 echo >&2 " Source parameter 'family' is missing"
1313 exit 1
1414fi
1515
1616directory=" ${source_family} "
17- if [[ ${source_family} == 0.9.* ]]; then
17+ if [[ " ${source_family} " == 0.9.* ]]; then
1818 directory=" 0.9.x"
1919fi
2020
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ if [[ -z ${version} ]]; then
1616fi
1717
1818source_family=$( jq -r ' .source.family // empty' <<< " ${payload}" )
19- if [[ -z ${source_family} ]]; then
19+ if [[ -z " ${source_family} " ]]; then
2020 echo >&2 " Source parameter 'family' is missing"
2121 exit 1
2222fi
@@ -28,7 +28,7 @@ echo "${version}" > version
2828echo " ${source_family} " > family
2929
3030directory=" ${source_family} "
31- if [[ ${source_family} == 0.9.* ]]; then
31+ if [[ " ${source_family} " == 0.9.* ]]; then
3232 directory=" 0.9.x"
3333fi
3434
@@ -42,7 +42,7 @@ tarball_url=$(
4242 | sed -nEe ' s|^.*href="(openssl-' " ${version} " ' \.tar\.gz)">.*|https://www.openssl.org/source/\1|p'
4343 ) | tail --lines=" 1"
4444)
45- if [[ -z ${tarball_url} ]]; then
45+ if [[ -z " ${tarball_url} " ]]; then
4646 echo >&2 " No such 'openssl-${version} .tar.gz' tarball available" \
4747 " on 'https://artfiles.org/openssl.org/source/'" \
4848 " or 'https://artfiles.org/openssl.org/source/old/${directory} /'"
You can’t perform that action at this time.
0 commit comments