diff options
author | Dirk Baechle <dl9obn@darc.de> | 2015-02-26 23:44:19 (GMT) |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2015-02-26 23:44:19 (GMT) |
commit | 354388a26c7ff2ed69e4e34f41880e0e1bfb0cb1 (patch) | |
tree | e4e8f3ef044c39a930235a39bb7301d35b0300ff /test/Install/wrap-by-attribute.py | |
parent | 8447a9187ac80c0a7e980510154542b49577ddaa (diff) | |
download | SCons-354388a26c7ff2ed69e4e34f41880e0e1bfb0cb1.zip SCons-354388a26c7ff2ed69e4e34f41880e0e1bfb0cb1.tar.gz SCons-354388a26c7ff2ed69e4e34f41880e0e1bfb0cb1.tar.bz2 |
- switching Node class and NodeInfo/Binfo to using slots
- memoizer subsystem now uses decorators instead of the metaclass approach
Diffstat (limited to 'test/Install/wrap-by-attribute.py')
-rw-r--r-- | test/Install/wrap-by-attribute.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Install/wrap-by-attribute.py b/test/Install/wrap-by-attribute.py index 912551e..02513af 100644 --- a/test/Install/wrap-by-attribute.py +++ b/test/Install/wrap-by-attribute.py @@ -58,10 +58,10 @@ env.SconsInternalInstallFunc = env.Install env.SconsInternalInstallAsFunc = env.InstallAs def InstallWithDestDir(dir, source): - abspath = os.path.splitdrive(env.Dir(dir).abspath)[1] + abspath = os.path.splitdrive(env.Dir(dir).get_abspath())[1] return env.SconsInternalInstallFunc('$DESTDIR'+abspath, source) def InstallAsWithDestDir(target, source): - abspath = os.path.splitdrive(env.File(target).abspath)[1] + abspath = os.path.splitdrive(env.File(target).get_abspath())[1] return env.SconsInternalInstallAsFunc('$DESTDIR'+abspath, source) # Add the wrappers directly as attributes. |