Fix typo in $FILE()

This commit is contained in:
Daniel Hokka Zakrisson 2012-09-30 01:19:22 +02:00
parent 2d7691500e
commit 62db667760

View file

@ -336,7 +336,7 @@ def varReplaceFilesAndPipes(basedir, raw):
replacement = m.group()
if m.group(1) == "FILE":
path = path_dwim(baesdir, m.group(2))
path = path_dwim(basedir, m.group(2))
try:
f = open(path, "r")
replacement = f.read()