summaryrefslogtreecommitdiff
path: root/ci/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/travis.sh')
-rw-r--r--ci/travis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 4d5f0f0..58227bd 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -38,7 +38,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