Bug#844560: check for config file existence is wrong

2016-11-21 Thread Mattia Rizzolo
On Fri, Nov 18, 2016 at 04:08:32PM +, Ian Jackson wrote: > Hi. Thanks for your attention to this mostly-cosmetic bug... Given that you seem to be more "involved" than the average show^Wreport-rebug-and-flee I'm going to bother you a bit more :) > > If that the problem it could prably be

Bug#844560: check for config file existence is wrong

2016-11-18 Thread Ian Jackson
Hi. Thanks for your attention to this mostly-cosmetic bug... Mattia Rizzolo writes ("Re: Bug#844560: check for config file existence is wrong"): > It does a regular > if [ -f "$RCFILE" ]; then > . "$RCFILE" Yes. > Which fails for non-regul

Bug#844560: check for config file existence is wrong

2016-11-16 Thread Mattia Rizzolo
On Wed, 16 Nov 2016, 10:36 p.m. Ian Jackson, < ijack...@chiark.greenend.org.uk> wrote: > Package: pbuilder > Version: 0.226.1 > > zealot:~> pbuilder dumpconfig --configfile /dev/null > E: Config file /dev/null does not exist > zealot:~> > > If it just tried to source it, rather than (presumably)

Bug#844560: check for config file existence is wrong

2016-11-16 Thread Ian Jackson
Package: pbuilder Version: 0.226.1 zealot:~> pbuilder dumpconfig --configfile /dev/null E: Config file /dev/null does not exist zealot:~> If it just tried to source it, rather than (presumably) pre-checking it with "test", it would say something like this: zealot:~> bash -c '. /dev/enoent'