Skip to content

Commit ca00e1b

Browse files
committed
Remove extraneous 'cd -' before attempting to remove source trees
Remove extraneous 'cd -' which prevented compiled source code being removed. 'cd -' undid the effect of the previous 'cd', which was 'cd ..' which undid the effect of the previous 'cd "luarocks-${LUAROCKS_VER}"' The end result is that the rm commands to remove source trees after compilation executed from within the luarocks source tree, removing nothing. Run the 'rm -rf's from the correct place and shrink the image by around 20%
1 parent 0b69877 commit ca00e1b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ cd ..
7777
luarocks install uuid
7878
luarocks install luasocket
7979
luarocks install lua-geoip
80-
cd -
8180

8281
# Cleaning up source...
8382
rm -fr "openresty-${OPEN_RESTY_VER}"

0 commit comments

Comments
 (0)