This commit is contained in:
Joey Hess 2013-12-10 12:50:04 -04:00
parent d764fcf842
commit 5f859e648c

View file

@ -123,6 +123,7 @@ runAtFile p s f extraparams = do
when (null $ opts c) $
error $ "failed to find any options for " ++ f ++ " in >>>" ++ s ++ "<<<"
writeFile f (opts c)
print "in file: >>>" ++ (opts c) ++ "<<<"
out <- getOutput (cmd c) (atFile f:extraparams) (env c)
removeFile f
return out