Update default_task.sh

修复本地自定义shell脚本的没执行的问题
This commit is contained in:
liandong00
2021-01-09 13:13:12 +08:00
committed by GitHub
parent 20a8ee2b63
commit ae0fdc7d6c

View File

@@ -127,7 +127,7 @@ else
sh -x /scripts/docker/shell_script_mod.sh
echo "自定义远程shell脚本下载并执行结束。"
else
if [ !$CUSTOM_SHELL_FILE ]; then
if [ ! -f $CUSTOM_SHELL_FILE ]; then
echo "自定义shell脚本为docker挂载脚本文件但是指定挂载文件不存在跳过执行。"
else
echo "docker挂载的自定shell脚本开始执行..."