Skip to content

Commit bd0d9a1

Browse files
committed
Update install.sh
1 parent fb313da commit bd0d9a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

install.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mkdir -p /data/src
22
cd /data/src
3-
if [ ! -x "LuaJIT-2.0.0.tar.gz"]; then
3+
if [ ! -x "LuaJIT-2.0.0.tar.gz" ]; then
44
wget http://luajit.org/download/LuaJIT-2.0.0.tar.gz
55
fi
66
tar zxvf LuaJIT-2.0.0.tar.gz
@@ -9,24 +9,24 @@ make
99
make install PREFIX=/usr/local/lj2
1010
ln -s /usr/local/lj2/lib/libluajit-5.1.so.2 /lib64/
1111
cd /data/src
12-
if [ ! -x "v0.2.17rc2.zip"]; then
12+
if [ ! -x "v0.2.17rc2.zip" ]; then
1313
wget https://github.com/simpl/ngx_devel_kit/archive/v0.2.17rc2.zip
1414
fi
1515
unzip v0.2.17rc2
16-
if [ ! -x "v0.7.4.zip"]; then
16+
if [ ! -x "v0.7.4.zip" ]; then
1717
wget https://github.com/chaoslawful/lua-nginx-module/archive/v0.7.4.zip
1818
fi
1919
unzip v0.7.4
2020
cd /data/src
21-
if [ ! -x "pcre-8.10.tar.gz"]; then
21+
if [ ! -x "pcre-8.10.tar.gz" ]; then
2222
wget http://blog.s135.com/soft/linux/nginx_php/pcre/pcre-8.10.tar.gz
2323
fi
2424
tar zxvf pcre-8.10.tar.gz
2525
cd pcre-8.10/
2626
./configure
2727
make && make install
2828
cd ..
29-
if [ ! -x "nginx-1.2.4.tar.gz"]; then
29+
if [ ! -x "nginx-1.2.4.tar.gz" ]; then
3030
wget 'http://nginx.org/download/nginx-1.2.4.tar.gz'
3131
fi
3232
tar -xzvf nginx-1.2.4.tar.gz

0 commit comments

Comments
 (0)