Bug#565436: closed by Mattia Rizzolo (Re: Bug#565436: pbuilder: new $HOME value broke my hook scripts)

2019-07-07 Thread Francesco Poli
On Sun, 7 Jul 2019 21:33:51 + (UTC) Thorsten Glaser wrote: > Francesco Poli dixit: > > >Why harmful? > > Underquoting. > > >Because it is a bashism? > > The “export a=b” is, sure, but… > > >Please note that there already is a: > > > > export HOME=$(readlink -f $(pwd)/../) > > … this

Bug#565436: closed by Mattia Rizzolo (Re: Bug#565436: pbuilder: new $HOME value broke my hook scripts)

2019-07-07 Thread Thorsten Glaser
Francesco Poli dixit: >Why harmful? Underquoting. >Because it is a bashism? The “export a=b” is, sure, but… >Please note that there already is a: > > export HOME=$(readlink -f $(pwd)/../) … this can explode (if $PWD contains a space). Just fix it as well. bye, //mirabilos -- “It is

Bug#565436: closed by Mattia Rizzolo (Re: Bug#565436: pbuilder: new $HOME value broke my hook scripts)

2019-07-07 Thread Francesco Poli
On Sun, 7 Jul 2019 21:13:28 + (UTC) Thorsten Glaser wrote: > Francesco Poli dixit: > > >Please add this harmless line to /usr/lib/pbuilder/pdebuild-internal: > > > > export DEBSOURCEDIR=$(readlink -f $(pwd)) > > Harmful. You’ll want: > > DEBSOURCEDIR=$(readlink -f "$(pwd)"); export

Bug#565436: closed by Mattia Rizzolo (Re: Bug#565436: pbuilder: new $HOME value broke my hook scripts)

2019-07-07 Thread Thorsten Glaser
Francesco Poli dixit: >Please add this harmless line to /usr/lib/pbuilder/pdebuild-internal: > > export DEBSOURCEDIR=$(readlink -f $(pwd)) Harmful. You’ll want: DEBSOURCEDIR=$(readlink -f "$(pwd)"); export DEBSOURCEDIR bye, //mirabilos -- FWIW, I'm quite impressed with mksh

Bug#565436: closed by Mattia Rizzolo (Re: Bug#565436: pbuilder: new $HOME value broke my hook scripts)

2019-07-07 Thread Francesco Poli
On Fri, 16 Oct 2015 19:30:49 +0200 Francesco Poli wrote: [...] > Although, in this case, just defining and exporting one additional > environment variable should probably have little chance to break > things... [...] Is there any progress on bug [#565436]? [#565436]: