1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

meta: cleanup d.getVar(var, 1)

(From OE-Core rev: 79fe476be233015c1c90e9c3fb4572267b5551d1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2016-09-12 01:32:07 -07:00
committed by Richard Purdie
parent 32b8267203
commit b8e2bab119
8 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ python do_install () {
}
python do_install_config () {
indir = os.path.dirname(d.getVar('FILE',1))
indir = os.path.dirname(d.getVar('FILE', True))
infile = open(oe.path.join(indir, 'files', 'apt.conf'), 'r')
data = infile.read()
infile.close()