Fix php working dir
This commit is contained in:
parent
bcd7365f76
commit
e310b302e4
2
server
2
server
|
@ -1,6 +1,5 @@
|
|||
#! /bin/bash
|
||||
# This script should be used by the test suite, don't useit manually
|
||||
# or you may end up with zombie processes lying around
|
||||
|
||||
if [ -z "$FORGEHOOKPORT" ]; then
|
||||
[ -z "$1" ] && exit 1
|
||||
|
@ -8,6 +7,7 @@ if [ -z "$FORGEHOOKPORT" ]; then
|
|||
fi
|
||||
[ -z "$FORGEHOOK" ] && FORGEHOOK="forgehook"
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
php -S localhost:$FORGEHOOKPORT
|
||||
if [[ $? != 0 ]]; then
|
||||
exit 2
|
||||
|
|
Loading…
Reference in New Issue