File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 4747
4848 test -f ndk_http_module.so
4949 test -f ngx_http_lua_module.so
50- test -f usr/local/lib/lua/5.1/cjson.so
51- test -f usr/local/share/lua/5.1/cjson/safe.lua
50+ CJSON_SO="$(find usr/local/lib/lua -type f -name 'cjson.so' -print -quit || true)"
51+ CJSON_SAFE="$(find usr/local/share/lua -type f -path '*/cjson/safe.lua' -print -quit || true)"
52+
53+ echo "Found cjson.so: ${CJSON_SO:-NOT FOUND}"
54+ echo "Found safe.lua: ${CJSON_SAFE:-NOT FOUND}"
55+
56+ test -n "$CJSON_SO"
57+ test -n "$CJSON_SAFE"
5258
5359 if [ -f libluajit-5.1.so.2 ]; then
5460 sha256sum \
6672 usr/local/share/lua/5.1/cjson/safe.lua \
6773 > SHA256SUMS
6874 fi
69- test -f usr/local/lib/lua/5.1/cjson.so
70- test -f usr/local/share/lua/5.1/cjson/safe.lua
7175 cat SHA256SUMS
7276
7377 - name : Upload to GitHub Release
You can’t perform that action at this time.
0 commit comments