Skip to content

Commit

Permalink
fix(Docker): 修复 TS+ Docker 入口文件判读路径错误导致永远都在执行块代码
Browse files Browse the repository at this point in the history
fixed #447
  • Loading branch information
medz committed Nov 23, 2018
1 parent 15f9aae commit f4523b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if ! [ -e $PLUS_SRC_PATH/public/index.php -o "$(ls -A $PLUS_SRC_PATH)" ]; then
exit 1
fi

if ! [ -e $PLUS_TARGET_PATH/plus/index -o "$(ls -A $PLUS_TARGET_PATH)" ]; then
if ! [ -e $PLUS_TARGET_PATH/plus/index.php -o "$(ls -A $PLUS_TARGET_PATH)" ]; then
echo >&2 "$PLUS_NAME not found in \"$PLUS_TARGET_PATH\" - copying now..."

if [ "$(ls -A $PLUS_TARGET_PATH)" ]; then
Expand Down

0 comments on commit f4523b2

Please sign in to comment.