Skip to content

Commit a50dd9e

Browse files
committed
Fixed install-development script
1 parent 51c6006 commit a50dd9e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

install-development

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PHPIZE_BIN=`command -v phpize 2>/dev/null || true`
4747
PHPCONFIG_BIN=`command -v php-config 2>/dev/null || true`
4848

4949
INSTALL_EXTENSION="${INSTALL_EXTENSION:-0}"
50-
RE2C_FLAGS="${RE2C_FLAGS:-''}"
50+
RE2C_FLAGS="${RE2C_FLAGS:-}"
5151

5252
if [ x"$RE2C_BIN" = x ]; then
5353
echo -e "error: unable to locate the re2c"
@@ -138,9 +138,8 @@ rm -f \
138138

139139
rm -rf .libs
140140

141-
SCANNER_OPTIONS="${RE2C_FLAGS} --no-generation-date -o scanner.c scanner.re"
142-
143-
${RE2C_BIN} ${SCANNER_OPTIONS}
141+
echo "${RE2C_BIN} ${RE2C_FLAGS} --no-generation-date -o scanner.c scanner.re"
142+
${RE2C_BIN} ${RE2C_FLAGS} --no-generation-date -o scanner.c scanner.re
144143

145144
# Compile lemon
146145
${CC} lemon.c -o lemon

0 commit comments

Comments
 (0)