File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ function update_node_version() {
172172 if [[ " ${arches[0]} " == * " s390x" * ]]; then
173173 alpine_arch+=' s390x) OPENSSL_ARCH=linux-s390x;; \\\n '
174174 fi
175+ # shellcheck disable=SC1003
175176 alpine_arch+=' *) ;; \\'
176177 sed -Ei -e " s/\"\\ $\{ALPINE_ARCH\[@\]\}\" /${alpine_arch} /" " ${dockerfile} -tmp"
177178 fi
@@ -195,6 +196,7 @@ function update_node_version() {
195196 if [[ " ${arches[0]} " == * " arm32v7" * ]]; then
196197 deb_arch+=' armhf) ARCH=' " '" ' armv7l' " '" ' ;; \\\n '
197198 fi
199+ # shellcheck disable=SC1003
198200 deb_arch+=' *) echo "unsupported architecture"; exit 1 ;; \\'
199201 sed -Ei -e " s/\"\\ $\{DEB_ARCH\[@\]\}\" /${deb_arch} /" " ${dockerfile} -tmp"
200202 elif is_debian_slim " ${variant} " ; then
@@ -217,6 +219,7 @@ function update_node_version() {
217219 if [[ " ${arches[0]} " == * " arm32v7" * ]]; then
218220 deb_arch+=' armhf) ARCH=' " '" ' armv7l' " '" ' OPENSSL_ARCH=' " '" ' linux-armv4' " '" ' ;; \\\n '
219221 fi
222+ # shellcheck disable=SC1003
220223 deb_arch+=' *) echo "unsupported architecture"; exit 1 ;; \\'
221224 sed -Ei -e " s/\"\\ $\{DEB_ARCH\[@\]\}\" /${deb_arch} /" " ${dockerfile} -tmp"
222225 fi
You can’t perform that action at this time.
0 commit comments