Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-18 Thread Ilya Dryomov
> Dne 18.6.2014 09:52, Ilya Dryomov napsal(a): >> On Tue, Jun 17, 2014 at 6:47 AM, Alexei Starovoitov >> wrote: >>> On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek wrote: When $srctree or $objtree are relative paths, we cannot change directory and refer to them in the same subshell. Do

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-18 Thread Michal Marek
Dne 18.6.2014 09:52, Ilya Dryomov napsal(a): > On Tue, Jun 17, 2014 at 6:47 AM, Alexei Starovoitov > wrote: >> On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek wrote: >>> When $srctree or $objtree are relative paths, we cannot change directory >>> and refer to them in the same subshell. Do the

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-18 Thread Ilya Dryomov
On Tue, Jun 17, 2014 at 6:47 AM, Alexei Starovoitov wrote: > On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek wrote: >> 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. >>

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-18 Thread Ilya Dryomov
On Tue, Jun 17, 2014 at 6:47 AM, Alexei Starovoitov alexei.starovoi...@gmail.com wrote: On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek mma...@suse.cz wrote: When $srctree or $objtree are relative paths, we cannot change directory and refer to them in the same subshell. Do the redirection outside

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-18 Thread Michal Marek
Dne 18.6.2014 09:52, Ilya Dryomov napsal(a): On Tue, Jun 17, 2014 at 6:47 AM, Alexei Starovoitov alexei.starovoi...@gmail.com wrote: On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek mma...@suse.cz wrote: When $srctree or $objtree are relative paths, we cannot change directory and refer to them

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-18 Thread Ilya Dryomov
Dne 18.6.2014 09:52, Ilya Dryomov napsal(a): On Tue, Jun 17, 2014 at 6:47 AM, Alexei Starovoitov alexei.starovoi...@gmail.com wrote: On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek mma...@suse.cz wrote: When $srctree or $objtree are relative paths, we cannot change directory and refer to them

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-16 Thread Alexei Starovoitov
On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek wrote: > 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-by: Ilya Dryomov > Signed-off-by: Michal Marek > --- >

[PATCH] deb-pkg: Fix for relative paths

2014-06-16 Thread Michal Marek
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-by: Ilya Dryomov Signed-off-by: Michal Marek --- scripts/package/builddeb | 10 +- 1 file changed, 5

[PATCH] deb-pkg: Fix for relative paths

2014-06-16 Thread Michal Marek
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-by: Ilya Dryomov idryo...@gmail.com Signed-off-by: Michal Marek mma...@suse.cz --- scripts/package/builddeb | 10

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-16 Thread Alexei Starovoitov
On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek mma...@suse.cz wrote: 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-by: Ilya Dryomov idryo...@gmail.com