Merge pull request #1150 from dhozac/varreplacefile-typo
Fix typo in $FILE()
This commit is contained in:
commit
7d86663dd2
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ def varReplaceFilesAndPipes(basedir, raw):
|
||||||
|
|
||||||
replacement = m.group()
|
replacement = m.group()
|
||||||
if m.group(1) == "FILE":
|
if m.group(1) == "FILE":
|
||||||
path = path_dwim(baesdir, m.group(2))
|
path = path_dwim(basedir, m.group(2))
|
||||||
try:
|
try:
|
||||||
f = open(path, "r")
|
f = open(path, "r")
|
||||||
replacement = f.read()
|
replacement = f.read()
|
||||||
|
|
Loading…
Reference in a new issue