From 56124d3977266d57af317b5f91b3ef203d49e353 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 3 Jan 2016 13:58:34 -0600 Subject: match a bit more robustly --- .travis/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.travis/install.sh') 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 -- cgit v1.2.3