]> https://gitweb.dealii.org/ - candi.git/commitdiff
fix cmake path
authorTimo Heister <timo.heister@gmail.com>
Fri, 5 Oct 2018 11:36:27 +0000 (13:36 +0200)
committerTimo Heister <timo.heister@gmail.com>
Fri, 5 Oct 2018 11:36:27 +0000 (13:36 +0200)
cmake sets the incorrect install path if you use "once:cmake"

deal.II-toolchain/packages/cmake.package

index 9bea1e51cab48d26904c563dd3f1b16d9ddd7601..b633b8dca4864eab501b753e4e495fb4932f7cf7 100644 (file)
@@ -18,7 +18,7 @@ if [ ${PLATFORM_OSTYPE} == "linux" ]; then
     PACKING=.tar.gz
     CHECKSUM=55e30dd01698e9409b576008fd22394c
     BUILDCHAIN=ignore
-
+    INSTALL_PATH=${INSTALL_PATH}/${NAME}
 else
     # configure/make/install
     NAME=cmake-${VERSION}
@@ -39,7 +39,6 @@ SOURCE=https://cmake.org/files/v${MAJOR}/
 if [ ${BUILDCHAIN} == "ignore" ]; then
     package_specific_install () {
         cp -rf ${UNPACK_PATH}/${EXTRACTSTO} ${INSTALL_PATH}
-        INSTALL_PATH=${INSTALL_PATH}/${EXTRACTSTO}
     }
 fi
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.