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)
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

Simple merge