Remove ${D} from post/pre scripts
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 4 Jun 2014 14:42:37 +0000 (16:42 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 4 Jun 2014 14:42:37 +0000 (16:42 +0200)
commit77e6632fd5dc52393230cff5b290ef4722624752
treed195a3da2d62c605872d672d1ac32f6a9e0e6d2e
parent66ece912646c353b772d54a1002bf019fa772faf
Remove ${D} from post/pre scripts

The correct path is generated in the recipe when macros are used in the
spec file. Correcting the spec files is the way to go so we remove the
addition of the "${D}" prefix.

Also clean code.

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
tools/spec2yocto.py