[fix](workflow) Fix the errors when using sh to run shell scripts (#11898)

This commit is contained in:
Adonis Ling
2022-08-19 21:28:52 +08:00
committed by GitHub
parent ffe7af49c8
commit b4101d46f0
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
# under the License.
set -eo pipefail
set +o posix
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
DORIS_HOME="$(

View File

@ -33,6 +33,7 @@
#####################################################################
set -eo pipefail
set +o posix
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"