File tree 6 files changed +10
-2
lines changed
6 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ while [[ "$1" ]]; do
111
111
exit 0
112
112
;;
113
113
esac
114
- shift
114
+ shift || true
115
115
done
116
116
117
117
if [[ -z " $RUNTIME " ]]; then
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ clean="$5"
157
157
158
158
if [ " $mode " = " download" ]; then
159
159
download_wasmer " $target " " $version " " $arch " " $clean "
160
+
160
161
else
161
162
build_wasmer " $target " " $version " " $arch " " $clean "
162
163
fi
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ clean="$5"
142
142
143
143
if [ " $mode " = " download" ]; then
144
144
download_wasmtime " $target " " $version " " $arch " " $clean "
145
+
145
146
else
146
147
build_wasmtime " $target " " $version " " $arch " " $clean "
147
148
fi
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ while [[ "$1" ]]; do
83
83
exit 0
84
84
;;
85
85
esac
86
- shift
86
+ shift || true
87
87
done
88
88
89
89
if [[ -z " $PROXY_WASM_SDK " ]]; then
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ download_assemblyscript_sdk() {
29
29
git fetch --tags
30
30
git reset --hard " v$version "
31
31
popd
32
+
32
33
else
33
34
notice " cloning proxy-wasm-assemblyscript-sdk repository, version ${version} ..."
34
35
git clone \
@@ -50,6 +51,7 @@ build_assemblyscript_sdk() {
50
51
51
52
if [[ ! -d " $DIR_PROXY_WASM_ASSEMBLYSCRIPT_SDK " ]]; then
52
53
download_assemblyscript_sdk $version
54
+
53
55
else
54
56
local cur_version=$( cd $DIR_PROXY_WASM_ASSEMBLYSCRIPT_SDK && git describe --tags)
55
57
@@ -97,6 +99,7 @@ clean="$3"
97
99
98
100
if [ " $mode " = " download" ]; then
99
101
download_assemblyscript_sdk " $version " " $clean "
102
+
100
103
else
101
104
build_assemblyscript_sdk " $version " " $clean "
102
105
fi
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ if [[ -d "$DIR_NGX_ECHO_MODULE" ]]; then
152
152
git fetch
153
153
git reset --hard origin/master
154
154
popd
155
+
155
156
else
156
157
notice " cloning the echo-nginx-module repository..."
157
158
git clone https://github.com/openresty/echo-nginx-module.git $DIR_NGX_ECHO_MODULE
@@ -163,6 +164,7 @@ if [[ -d "$DIR_NGX_HEADERS_MORE_MODULE" ]]; then
163
164
git fetch
164
165
git reset --hard origin/master
165
166
popd
167
+
166
168
else
167
169
notice " cloning the headers-more-nginx-module repository..."
168
170
git clone https://github.com/openresty/headers-more-nginx-module.git $DIR_NGX_HEADERS_MORE_MODULE
@@ -174,6 +176,7 @@ if [[ -d "$DIR_MOCKEAGAIN" ]]; then
174
176
git fetch
175
177
git reset --hard origin/master
176
178
popd
179
+
177
180
else
178
181
notice " cloning the mockeagain repository..."
179
182
git clone https://github.com/openresty/mockeagain.git $DIR_MOCKEAGAIN
You can’t perform that action at this time.
0 commit comments