summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
author刘学利 <[email protected]>2022-03-01 03:38:40 +0000
committer刘学利 <[email protected]>2022-03-01 03:38:40 +0000
commit63ffb1df8c30771cb9615f4f37f213eaf56ae940 (patch)
treeaeb34153b4ecb4aaaef5cbf2d5a932f5890d5c91 /ci
parent0c4afa78fe997f147136d3f81f8503ef623ea90a (diff)
TSG-9690: 适配Rocky Linux8.5v2.10.3
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 8179750..3cfc243 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