diff --git a/build-support/shell-check.sh b/build-support/shell-check.sh index 6f5327f9f6..604cc7c8ec 100755 --- a/build-support/shell-check.sh +++ b/build-support/shell-check.sh @@ -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="$( diff --git a/run-be-ut.sh b/run-be-ut.sh index 4e5391a3fc..fc11e0ef2d 100755 --- a/run-be-ut.sh +++ b/run-be-ut.sh @@ -33,6 +33,7 @@ ##################################################################### set -eo pipefail +set +o posix ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"