mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
tools/github-fetch: fix marking deleted
I used the wrong path variable here resulting in failure if anything was deleted. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
17ced0ee38
commit
eaae0d8b02
|
@ -84,7 +84,7 @@ def fetchall(args):
|
|||
|
||||
deleted = False
|
||||
for dirname in existing:
|
||||
dirpath = os.path.join(outpath, dirname)
|
||||
dirpath = os.path.join(args.outdir, dirname)
|
||||
print('Marking %s as deleted' % dirname)
|
||||
os.rename(dirpath, dirpath + '.deleted')
|
||||
deleted = True
|
||||
|
|
Loading…
Reference in New Issue
Block a user