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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,10 @@ def setup_build_environment(self, env):
env.set('FCFLAGS', args) env.set('FCFLAGS', args)
env.set('FFLAGS', 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): def patch(self):
# Let's not assume csh is intalled in bin # Let's not assume csh is intalled in bin
files = glob.glob('*.csh') files = glob.glob('*.csh')