deb-pkg: Fix for relative paths
authorMichal Marek <mmarek@suse.cz>
Mon, 16 Jun 2014 14:11:29 +0000 (16:11 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 18 Jun 2014 14:01:58 +0000 (16:01 +0200)
commita765a7ce293aa0a072728790ce11088b2f7030e2
tree67f41a4bc769138d667c69537877da91c93d9213
parent7171511eaec5bf23fb06078f59784a3a0626b38f
deb-pkg: Fix for relative paths

When $srctree or $objtree are relative paths, we cannot change directory
and refer to them in the same subshell. Do the redirection outside of
the subshell to fix this.

Reported-and-tested-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/builddeb