From 8428b93451d2150f4f4364154b8fffd170c95667 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 1 Jul 2018 09:16:34 +0200 Subject: [PATCH] nix cmake download url --- nix/build-all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index 6a89eb3602..0b1fd1830d 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -242,7 +242,7 @@ def __check_output__(cmds, cwd=None): BOOST_VERSION_UNDERSCORE=BOOST_VERSION.replace(".", "_") ICU_VERSION_UNDERSCORE=ICU_VERSION.replace(".", "_") -CMAKE_VERSION_2=CMAKE_VERSION[0:3] +CMAKE_VERSION_2=CMAKE_VERSION[:CMAKE_VERSION.rindex('.')] OCE_LOCATION="https://github.com/tpaviot/oce/archive/OCE-%s.tar.gz" % (OCE_VERSION,) BOOST_LOCATION="http://downloads.sourceforge.net/project/boost/boost/%s/boost_%s.tar.bz2" % (BOOST_VERSION, BOOST_VERSION_UNDERSCORE)