about summary refs log tree commit diff
path: root/default.bam
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-11-08 10:16:22 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-11-08 10:16:22 +0000
commit1706346245d61cd165d82c7d7b504424944b64f9 (patch)
tree20a2af21174c289f12c38207b8a2233208217bac /default.bam
parenta6bcd74120389a33115afb311f38e7f5b736f805 (diff)
downloadzcatch-1706346245d61cd165d82c7d7b504424944b64f9.tar.gz
zcatch-1706346245d61cd165d82c7d7b504424944b64f9.zip
fixed so that CHash adds dependencies correctly
Diffstat (limited to 'default.bam')
-rw-r--r--default.bam5
1 files changed, 2 insertions, 3 deletions
diff --git a/default.bam b/default.bam
index 8c8f3fe8..1407348f 100644
--- a/default.bam
+++ b/default.bam
@@ -104,14 +104,13 @@ cmd5_tool = Script("scripts/cmd5.py")
 content_compiler = Script("datasrc/compile.py")
 
 function CHash(output, ...)
-	local inputs = {}
-	local ih = collect_input(arg)
+	local inputs = collect_input(arg)
 	
 	output = Path(output)
 	
 	-- compile all the files
 	local cmd = cmd5_tool .. " "
-	for index, inname in ih do
+	for index, inname in inputs do
 		cmd = cmd .. Path(inname) .. " " 
 	end