backports: always use absolute path to output directory, less probability of pycocci...
authorJacob Siverskog <jacob@teenageengineering.com>
Tue, 19 Aug 2014 14:26:12 +0000 (16:26 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Sep 2014 19:49:34 +0000 (21:49 +0200)
commitac3d777f7ef36cf4546f19a292dc45893d5d54b2
treee4248b88a6803c9d9563f20c2e9c46bc7e1bc6c9
parenta2abe976bc8cf73d2feabb07ad821f72a13bd585
backports: always use absolute path to output directory, less probability of pycocci failure.

While running gentree.py I got error messages such as 'Failed to
process SmPL patch
collateral-evolutions/generic/0001-group-attr/0001-group_attr_class.cocci',
due to incorrect path handling. This patch always makes gentree always
call pycocci with the absolute path to the output directory.

Signed-off-by: Jacob Siverskog <jacob@teenageengineering.com>
gentree.py