Skip to content

Commit 95a0429

Browse files
committed
update run-swoole-cli-builder-container.sh
1 parent 5389520 commit 95a0429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sapi/quickstart/linux/run-swoole-cli-builder-container.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ while [ $# -gt 0 ]; do
3333
shift $(($# > 0 ? 1 : 0))
3434
done
3535

36-
if [ ! -f ${__PROJECT__}/runtime/php ]; then
36+
if [ ! -f ${__PROJECT__}/runtime/php/php ]; then
3737
{
3838
bash setup-php-runtime.sh $OPTIONS
3939
} || {
4040
echo $?
4141
}
4242
fi
43-
export PATH=${__PROJECT__}/runtime:$PATH
44-
alias php="php -d curl.cainfo=${__PROJECT__}/runtime/cacert.pem -d openssl.cafile=${__PROJECT__}/runtime/cacert.pem "
43+
export PATH=${__PROJECT__}/runtime/php/:$PATH
44+
alias php="php -d curl.cainfo=${__PROJECT__}/runtime/php/cacert.pem -d openssl.cafile=${__PROJECT__}/runtime/php/cacert.pem "
4545

4646
export COMPOSER_ALLOW_SUPERUSER=1
4747

0 commit comments

Comments
 (0)