We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01779f8 commit 654c39eCopy full SHA for 654c39e
get_source.sh
@@ -137,6 +137,31 @@ process_options() {
137
local version=""
138
139
for arg in "$@" ; do
140
+ # temporarily handle openssl options that don't follow the general pattern
141
+ case "$arg" in
142
+ --openssl-repo=*)
143
+ # remove leading '-'
144
+ arg="${arg/--/-}"
145
+ ;;
146
+ --openssl-version=*)
147
+ # map to -openssl-branch
148
+ version="${arg#*=}"
149
+ case "$version" in
150
+ 1.0.2* | 1.1.*)
151
+ version="OpenSSL_${version//./_}"
152
153
+ 3.*)
154
+ version="openssl-$version"
155
156
+ *)
157
158
+ esac
159
+ arg=-openssl-branch=$version
160
161
162
163
164
+
165
if [[ "$arg" =~ -([A-Za-z0-9]+)-(branch|reference|repo|sha)=.* ]] ; then
166
local key="${BASH_REMATCH[1]}"
167
if [ -z "${source_folder[${key}]}" ] ; then
0 commit comments