summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
author刘学利 <[email protected]>2022-03-15 06:40:04 +0000
committer刘学利 <[email protected]>2022-03-15 06:40:04 +0000
commit5a89ccb0da03764b00fb06565acce11d6150a377 (patch)
treecafe41ece1b3c4220060e4273c491a09b60c9cac /ci
parent1b30b6d6a29626e1cce31b935fb0f57a89df62b2 (diff)
TSG-9690: 适配Rocky Linux8.5
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 3f5379c..72c8d5e 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -37,7 +37,7 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
yum install -y $INSTALL_DEPENDENCY_LIBRARY
fi
-if [ $ASAN_OPTION ];then
+if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then
source /opt/rh/devtoolset-7/enable
fi