summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-22 13:19:01 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-22 13:19:01 +0100
commit6fadbec36c1957dbe0d948c2bcbb0e4db69328ae (patch)
tree0048ff5401c541e2eb42452be258931594d1f386
parentfa3ebc9e517ae148537608cf0d15251bdf948d86 (diff)
Fix test command.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index c7864f8..535a106 100755
--- a/cdist
+++ b/cdist
@@ -689,7 +689,7 @@ elif args.command == 'test':
if args.target is None:
error('you must specify -t or --target')
- target = Target(args.target)
+ target = target_factory(args.target)
project.read_cscript('cscript')
target.build(project)