File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
cd " $( dirname " $0 " ) "
3
3
4
4
# Use all cores for the build process
5
- CORE_COUNT=$( cat /proc/cpuinfo | grep processor | wc -l)
5
+ CORE_COUNT=$( < /proc/cpuinfo | grep -c processor -l)
6
6
7
7
# Allow JOB_COUNT environment variable to override the job count
8
8
JOB_COUNT=${JOB_COUNT:- $CORE_COUNT }
@@ -32,7 +32,7 @@ sudo mkdir /usr/local/php7
32
32
git clone https://github.com/php/php-src.git
33
33
cd php-src
34
34
git fetch --tags --prune
35
- git checkout tags/php-7.2.1
35
+ git checkout tags/php-7.2.2
36
36
./buildconf --force
37
37
38
38
CONFIGURE_STRING=" --prefix=/usr/local/php7 \
@@ -74,7 +74,7 @@ CONFIGURE_STRING="--prefix=/usr/local/php7 \
74
74
--with-fpm-user=www-data \
75
75
--with-fpm-group=www-data"
76
76
77
- ./configure $CONFIGURE_STRING
77
+ ./configure " $CONFIGURE_STRING "
78
78
79
- make -j $JOB_COUNT
79
+ make -j " $JOB_COUNT "
80
80
sudo make install
You can’t perform that action at this time.
0 commit comments