Skip to content

Commit 34b6bfd

Browse files
committed
Fixed Linux compile script
1 parent c960625 commit 34b6bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

initial-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ autoreconf -fiv
1313

1414
# then look at the configure options:
1515
# ./configure --help
16-
if [ $1 = "-g" ]; then
16+
if [ "$1" = "-g" ]; then
1717
./configure --with-pic --disable-system-pcre --enable-utf8 \
1818
CFLAGS='-g -O2 -fPIC -DPIC' \
1919
CXXFLAGS='-g -O2 -fPIC -DPIC -std=c++0x' \
@@ -41,7 +41,7 @@ cd ../..
4141

4242
# then you have makefiles and the source can be compiled :)
4343
# building in parallel mode (use -j<JOBS>)
44-
if [ $1 = "-g" ]; then
44+
if [ "$1" = "-g" ]; then
4545
make \
4646
CFLAGS='-g -O2 -fPIC -DPIC -Wno-uninitialized -Wno-narrowing' \
4747
CXXFLAGS='-g -O2 -fPIC -DPIC -Wno-uninitialized -Wno-narrowing -std=c++0x' \

0 commit comments

Comments
 (0)