summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
author刘学利 <[email protected]>2022-03-30 02:14:35 +0000
committer刘学利 <[email protected]>2022-03-30 02:14:35 +0000
commit02b25be111380281367601b7ab94e045b196479f (patch)
tree3a6e896d0673d080131e4abaa4f1ee74f29e8bd1 /ci
parent6c9c66df2f1586f8c95b4c931317550b94976fda (diff)
TSG-9938 sapp适配rocky linux8.5v1.0.20
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 1ca196b..6fdb8ca 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -40,7 +40,7 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
source /etc/profile.d/framework.sh
fi
-if [ $ASAN_OPTION ];then
+if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then
source /opt/rh/devtoolset-7/enable
fi