aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-01-03 13:58:34 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-01-03 13:58:34 -0600
commit56124d3977266d57af317b5f91b3ef203d49e353 (patch)
treef383a4374f4ced73ec276ded1335b4e82f05d692 /.travis
parentfa091f417225c963be0e09c2cdaa92a10056dd32 (diff)
downloadcryptography-56124d3977266d57af317b5f91b3ef203d49e353.tar.gz
cryptography-56124d3977266d57af317b5f91b3ef203d49e353.tar.bz2
cryptography-56124d3977266d57af317b5f91b3ef203d49e353.zip
match a bit more robustly
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 2f2925cb..12cd77c7 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -76,9 +76,9 @@ else
cd openssl-$OPENSSL_VERSION_NUMBER
./config shared no-asm no-ssl2 -fPIC --prefix="$HOME/$OPENSSL_DIR"
# modify the shlib version to a unique one to make sure it doesn't load the system one.
- sed -i "s/^SHLIB_MAJOR=[0-9]/SHLIB_MAJOR=100/" Makefile
- sed -i "s/^SHLIB_MINOR=[0-9].[0-9]/SHLIB_MINOR=0.0/" Makefile
- sed -i "s/^SHLIB_VERSION_NUMBER=[0-9].[0-9].[0-9]/SHLIB_VERSION_NUMBER=100.0.0/" Makefile
+ sed -i "s/^SHLIB_MAJOR=.*/SHLIB_MAJOR=100/" Makefile
+ sed -i "s/^SHLIB_MINOR=.*/SHLIB_MINOR=0\.0/" Makefile
+ sed -i "s/^SHLIB_VERSION_NUMBER=.*/SHLIB_VERSION_NUMBER=100\.0\.0/" Makefile
make depend
make install
fi