File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -49,24 +49,26 @@ before_install:
49
49
(cd dl && tar -zxf nghttp2-${NGHTTP2}.tar.gz)
50
50
fi
51
51
(cd dl/nghttp2-${NGHTTP2} &&
52
- ./configure --prefix=/usr --disable-threads &&
52
+ [ -f Makefile ] || ./configure --prefix=/usr --disable-threads &&
53
53
make && sudo make install)
54
54
- |
55
55
if [ ! -e dl/curl-${CURL} ]; then
56
56
(cd dl && tar -zxf curl-${CURL}.tar.gz)
57
57
fi
58
- (cd dl/curl-${CURL} && ./configure --with-nghttp2 --prefix=/usr/local && make && sudo make install)
58
+ (cd dl/curl-${CURL} &&
59
+ [ -f Makefile ] || ./configure --with-nghttp2 --prefix=/usr/local &&
60
+ make && sudo make install)
59
61
- sudo ldconfig
60
62
- sudo cp dl/cpanm /usr/local/bin/cpanm
61
63
- tar -zxf dl/nginx-${NGINX_VERSION}.tar.gz && mv nginx-${NGINX_VERSION} nginx
62
- - cpanm --notest --local-lib=perl5 local::lib && eval $(perl -I perl5/lib/perl5/ -Mlocal::lib)
64
+ - cpanm --notest --local-lib=perl5 local::lib && eval $(perl -I perl5/lib/perl5/ -Mlocal::lib=./perl5 )
63
65
- |
64
66
if [ ! -f perl5/lib/perl5/Test/Nginx.pm ]; then
65
- cpanm --notest dl/test-nginx-${TESTNGINX_VER}.tar.gz
67
+ cpanm --notest --local-lib=perl5 dl/test-nginx-${TESTNGINX_VER}.tar.gz
66
68
fi
67
69
- |
68
70
if [ ! -f perl5/lib/perl5/Test/File.pm ]; then
69
- cpanm --notest Test::File
71
+ cpanm --notest --local-lib=perl5 Test::File
70
72
fi
71
73
72
74
install :
You can’t perform that action at this time.
0 commit comments