From: Timo Heister <timo.heister@gmail.com>
Date: Thu, 30 May 2024 23:42:06 +0000 (-0400)
Subject: netcdf: export PATH to find tools
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa2453f1de0622fd47e2e5548bdc5ccd089c7b7;p=candi.git

netcdf: export PATH to find tools
---

diff --git a/deal.II-toolchain/packages/netcdf.package b/deal.II-toolchain/packages/netcdf.package
index 24bd2c1..238345f 100644
--- a/deal.II-toolchain/packages/netcdf.package
+++ b/deal.II-toolchain/packages/netcdf.package
@@ -14,6 +14,7 @@ CONFOPTS="--disable-dap --enable-parallel --enable-netcdf-4 CPPFLAGS=-I${HDF5_DI
 
 package_specific_register () {
     export NETCDF_DIR=${INSTALL_PATH}
+    export PATH=${INSTALL_PATH}/bin:$PATH
 }
 
 package_specific_conf () {
@@ -22,5 +23,6 @@ package_specific_conf () {
     rm -f $CONFIG_FILE
     echo "
 export NETCDF_DIR=${INSTALL_PATH}
+export PATH=${INSTALL_PATH}/bin:$PATH
 " >> $CONFIG_FILE
 }