Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utils/install-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ install_apisix() {
# patch rockspec file to install with local repo
sed -re '/^\s*source\s*=\s*\{$/{:src;n;s/^(\s*url\s*=).*$/\1".\/apisix",/;/\}/!bsrc}' \
-e '/^\s*source\s*=\s*\{$/{:src;n;/^(\s*branch\s*=).*$/d;/\}/!bsrc}' \
-i rockspec/apisix-master-${iteration}.rockspec
-i apisix-master-${iteration}.rockspec

# install rust
install_rust

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