Skip to content

Commit 815d256

Browse files
committed
Add missing entrypoint
1 parent 602f47c commit 815d256

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

travis/entrypoint.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#! /bin/bash
2+
3+
# get a compiler that allows for using modern-ish C++ (>= 11) on a distro that doesn't normally support it
4+
# before you ask: yes, the binaries will work on CentOS 6 even without devtoolset (they somehow partially link C++
5+
# things statically while using others from the system...)
6+
# so, basically, it's magic!
7+
source /opt/rh/devtoolset-*/enable
8+
9+
exec "$@"

0 commit comments

Comments
 (0)