Skip to content

Commit e0d7586

Browse files
authored
Update php
fix of the Applications/HTTP Toolkit.app/Contents/Resources/httptoolkit-server/overrides/path/php: line 11: bad substitution: no closing "`" in `echo $HTTP_TOOLKIT_OVERRIDE_PATH
1 parent bf1400c commit e0d7586

File tree

1 file changed

+3
-3
lines changed
  • overrides/path

1 file changed

+3
-3
lines changed

overrides/path/php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ PATH="`dirname "$0"`:$PATH"
88

99
# Strip out our PHP_INI_SCAN_DIR - if this file has been run succesfully, then it's not necessary,
1010
# and it can cause problems (since it overrides any default scan directories configured)
11-
export PHP_INI_SCAN_DIR="${PHP_INI_SCAN_DIR//:`echo $HTTP_TOOLKIT_OVERRIDE_PATH/php`/}"
12-
export PHP_INI_SCAN_DIR="${PHP_INI_SCAN_DIR//`echo $HTTP_TOOLKIT_OVERRIDE_PATH/php`/}"
11+
export PHP_INI_SCAN_DIR="${PHP_INI_SCAN_DIR//:`echo $HTTP_TOOLKIT_OVERRIDE_PATH`/php/}"
12+
export PHP_INI_SCAN_DIR="${PHP_INI_SCAN_DIR//`echo $HTTP_TOOLKIT_OVERRIDE_PATH`/php/}"
1313
if [ -z "$PHP_INI_SCAN_DIR" ]; then
1414
unset PHP_INI_SCAN_DIR
1515
fi
@@ -30,4 +30,4 @@ if command -v winpty >/dev/null 2>&1; then
3030
winpty "$real_php" "${PHP_ARGS[@]}"
3131
else
3232
"$real_php" "${PHP_ARGS[@]}"
33-
fi
33+
fi

0 commit comments

Comments
 (0)