Created
April 19, 2014 00:23
-
-
Save bdbaddog/11069466 to your computer and use it in GitHub Desktop.
Dir() vs env.Dir() strangness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env = Environment() | |
env.Command('a','b','/bin/echo path %s'%env.Dir('#')) | |
env.Command('c','b','/bin/echo path %s'%env.Dir('#b')) | |
env.Command('d','b','/bin/echo path %s'%Dir('#d')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
/bin/echo path /Users/bdbaddog/devel/scons/tmp/b | |
path /Users/bdbaddog/devel/scons/tmp/b | |
/bin/echo path /Users/bdbaddog/devel/scons/tmp/b/b | |
path /Users/bdbaddog/devel/scons/tmp/b/b | |
/bin/echo path . | |
path . | |
scons: done building targets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SConscript('c/SConscript') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment