summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-01-11 15:03:46 (GMT)
committerSteven Knight <knight@baldmt.com>2002-01-11 15:03:46 (GMT)
commite6c4e9ae3fc9edc60981f15ece898645747ba82c (patch)
treec36fa5eac0d3d576e2ad42b4fb6d2f861373f353 /src/engine/SCons/Script
parentdd40d81aa957e6c4724c648bf74390280849e944 (diff)
downloadSCons-e6c4e9ae3fc9edc60981f15ece898645747ba82c.zip
SCons-e6c4e9ae3fc9edc60981f15ece898645747ba82c.tar.gz
SCons-e6c4e9ae3fc9edc60981f15ece898645747ba82c.tar.bz2
Fix using a directory as Default().
Diffstat (limited to 'src/engine/SCons/Script')
-rw-r--r--src/engine/SCons/Script/SConscript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Script/SConscript.py b/src/engine/SCons/Script/SConscript.py
index cb93d64..43868b5 100644
--- a/src/engine/SCons/Script/SConscript.py
+++ b/src/engine/SCons/Script/SConscript.py
@@ -116,7 +116,7 @@ def Default(*targets):
default_targets.append(t)
else:
for s in string.split(t):
- default_targets.append(SCons.Node.FS.default_fs.File(s))
+ default_targets.append(SCons.Node.FS.default_fs.Entry(s))
def Help(text):
if print_help: