wps: add tools and utils to PATH at runtime (#29998)

This commit is contained in:
Jakub Krajniak
2022-04-11 09:30:11 +02:00
committed by GitHub
parent 796ce7fe84
commit 65763d18fb

View File

@@ -64,6 +64,10 @@ def setup_build_environment(self, env):
env.set('FCFLAGS', args)
env.set('FFLAGS', args)
def setup_run_environment(self, env):
env.append_path('PATH', self.prefix)
env.append_path('PATH', self.prefix.util)
def patch(self):
# Let's not assume csh is intalled in bin
files = glob.glob('*.csh')