Skip to content

Commit

Permalink
fix(utils): remove outdated code in utils script (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
leslie-tsang committed Mar 11, 2022
1 parent d19c7fe commit d5938e8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions utils/install-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,8 @@ is_newer_version() {
}

install_apisix() {
# show awk version
awk --version
mkdir -p /tmp/build/output/apisix/usr/bin/
cd /apisix
# remove useless code for build
sed -i 's/url.*/url = ".\/apisix",/' rockspec/apisix-master-${iteration}.rockspec
sed -i 's/branch.*//' rockspec/apisix-master-${iteration}.rockspec
# 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
chown -R "$(whoami)":"$(whoami)" /tmp/build/output
Expand Down

0 comments on commit d5938e8

Please sign in to comment.