Skip to content

Commit d5938e8

Browse files
authored
fix(utils): remove outdated code in utils script (#166)
1 parent d19c7fe commit d5938e8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utils/install-common.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,8 @@ is_newer_version() {
8787
}
8888

8989
install_apisix() {
90-
# show awk version
91-
awk --version
9290
mkdir -p /tmp/build/output/apisix/usr/bin/
9391
cd /apisix
94-
# remove useless code for build
95-
sed -i 's/url.*/url = ".\/apisix",/' rockspec/apisix-master-${iteration}.rockspec
96-
sed -i 's/branch.*//' rockspec/apisix-master-${iteration}.rockspec
9792
# build the lib and specify the storage path of the package installed
9893
luarocks make ./rockspec/apisix-master-${iteration}.rockspec --tree=/tmp/build/output/apisix/usr/local/apisix/deps --local
9994
chown -R "$(whoami)":"$(whoami)" /tmp/build/output

0 commit comments

Comments
 (0)