summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-02-26 17:40:22 (GMT)
committerSteven Knight <knight@baldmt.com>2003-02-26 17:40:22 (GMT)
commitc98c5391f5afa134589db88ebe986368a1b6097f (patch)
tree1a7e0f06222b16f346e09b1dcfc185e470fbd3e5 /test/scan-once.py
parent8a816e6362b715a238183ae25551dbb6df7cddc3 (diff)
downloadSCons-c98c5391f5afa134589db88ebe986368a1b6097f.zip
SCons-c98c5391f5afa134589db88ebe986368a1b6097f.tar.gz
SCons-c98c5391f5afa134589db88ebe986368a1b6097f.tar.bz2
Fix str(Node.FS) in an SConscript file, and add a separate src_dir argument to SConscript(). (Charles Crain)
Diffstat (limited to 'test/scan-once.py')
-rw-r--r--test/scan-once.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scan-once.py b/test/scan-once.py
index 4355998..b910438 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -332,7 +332,7 @@ Mylib.ExportLib(env, lib_fullname)
#cmd_justlib = "cd %s ; make" % Dir(".")
cmd_generated = "%s $SOURCE" % (sys.executable,)
-cmd_justlib = "%s %s -C %s" % (sys.executable, sys.argv[0], Dir("."))
+cmd_justlib = "%s %s -C ${SOURCE[0].dir}" % (sys.executable, sys.argv[0])
##### Deps appear correct ... but wacky scanning?
# Why?