kbuild: Fix tar-pkg with relative $(objtree)
authorMichal Marek <mmarek@suse.cz>
Wed, 18 Jun 2014 14:21:41 +0000 (16:21 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 18 Jun 2014 15:34:59 +0000 (17:34 +0200)
commitc7eb3a7a1790e0a3a063b4183894d0d63ffee431
tree6ae3488fc80205b76e5c937b16ad07f363ee4daf
parenta765a7ce293aa0a072728790ce11088b2f7030e2
kbuild: Fix tar-pkg with relative $(objtree)

Commit 7e1c0477 (kbuild: Use relative path for $(objtree)) assumes that
the build process does not change its working directory. make tar-pkg
was a couterexample, fix this by changing directory only for the tar
command and not for the whole script, which at one point references the
now relative $(objtree).

Reported-and-tested-by: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/buildtar