diff options
author | Steven Knight <knight@baldmt.com> | 2002-10-16 04:13:14 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-10-16 04:13:14 (GMT) |
commit | bd91e792df09aebec78f7972e17eab873dc71246 (patch) | |
tree | 5b544223c15435fac1669b7d0f2c978483cf61fa /src/engine/SCons/Scanner/Fortran.py | |
parent | 3f747760055842fd7ea89770cc568761d5729117 (diff) | |
download | SCons-bd91e792df09aebec78f7972e17eab873dc71246.zip SCons-bd91e792df09aebec78f7972e17eab873dc71246.tar.gz SCons-bd91e792df09aebec78f7972e17eab873dc71246.tar.bz2 |
Refactor Repository and BuildDir. (Charles Crain)
Diffstat (limited to 'src/engine/SCons/Scanner/Fortran.py')
-rw-r--r-- | src/engine/SCons/Scanner/Fortran.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/engine/SCons/Scanner/Fortran.py b/src/engine/SCons/Scanner/Fortran.py index 5e0d6d3..fd8c971 100644 --- a/src/engine/SCons/Scanner/Fortran.py +++ b/src/engine/SCons/Scanner/Fortran.py @@ -77,12 +77,8 @@ def scan(node, env, target, fs = SCons.Node.FS.default_fs): # node.includes - the result of include_re.findall() if not hasattr(target, 'f77path'): - def Dir(rep, path, dir=target.cwd, fs=fs): - if rep: - path = os.path.join(rep, path) - return fs.Dir(path, dir) try: - target.f77path = tuple(fs.Rsearchall(env['F77PATH'], Dir)) + target.f77path = tuple(fs.Rsearchall(SCons.Util.mapPaths(env['F77PATH'], target.cwd), clazz=SCons.Node.FS.Dir)) except KeyError: target.f77path = () |