gentree.py: do not add full path into tar
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Oct 2013 21:01:35 +0000 (23:01 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Oct 2013 21:15:00 +0000 (23:15 +0200)
commit515e82602216fc40a224f02f34d0a0f0c03c8309
tree4ebd6c1f299ddb742f848607a0d5e2cd91dc7ecb
parent10eca9f5bef1821de09601a3a7db7eb337c56ba0
gentree.py: do not add full path into tar

dir_to_tar could be the absolute path to the directory to to tar, but
we do not want the full patch in the tar, just the basename.
In addition the second close is not necessary.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree.py