Skip to content

Commit d2ce2b8

Browse files
chore: change the apisix rockspec file path (#348)
1 parent 74052cd commit d2ce2b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/install-common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ install_apisix() {
110110
# patch rockspec file to install with local repo
111111
sed -re '/^\s*source\s*=\s*\{$/{:src;n;s/^(\s*url\s*=).*$/\1".\/apisix",/;/\}/!bsrc}' \
112112
-e '/^\s*source\s*=\s*\{$/{:src;n;/^(\s*branch\s*=).*$/d;/\}/!bsrc}' \
113-
-i rockspec/apisix-master-${iteration}.rockspec
113+
-i apisix-master-${iteration}.rockspec
114114

115115
# install rust
116116
install_rust
117117

118118
# build the lib and specify the storage path of the package installed
119-
luarocks make ./rockspec/apisix-master-${iteration}.rockspec --tree=/tmp/build/output/apisix/usr/local/apisix/deps --local
119+
luarocks make ./apisix-master-${iteration}.rockspec --tree=/tmp/build/output/apisix/usr/local/apisix/deps --local
120120
chown -R "$(whoami)":"$(whoami)" /tmp/build/output
121121
cd ..
122122
# copy the compiled files to the package install directory

0 commit comments

Comments
 (0)