Skip to content

Commit

Permalink
shell 脚本中启用 别名扩展功能
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Jan 25, 2025
1 parent 069d740 commit 14e1942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ bash setup-php-runtime.sh --mirror china
# 使用swoole-cli
# shell脚本中启用别名扩展功能‌
shopt -s expand_aliases
__DIR__=$(pwd)
__DIR__=$(cd "$(dirname "$0")"; pwd)
export PATH="${__DIR__}/bin/runtime:$PATH"
ln -sf ${__DIR__}/bin/runtime/swoole-cli ${__DIR__}/bin/runtime/php
alias php="php -d curl.cainfo=${__DIR__}/bin/runtime/cacert.pem -d openssl.cafile=${__DIR__}/bin/runtime/cacert.pem"
Expand Down

0 comments on commit 14e1942

Please sign in to comment.