On Fri, Jun 17, 2011 at 02:31:18PM +0200, Cyril Brulebois wrote: > It looks like one can't use ~ in ~/.sbuildrc? > > $ grep log_dir ~/.sbuildrc > $log_dir = '~/build/logs'; > > $ sbuild $something > Could not create '~/build/logs': No such file or directory > Could not create '~/build/logs': No such file or directory > Could not create '~/build/logs': No such file or directory > sbuild (Debian sbuild) 0.62.3 (11 Jun 2011) on […] > > $ ls -ld ~/build/logs > drwxr-xr-x 2 kibi kibi 4096 Jun 17 14:24 /home/kibi/build/logs
We don't do any expansions on the paths, which are plain perl strings/scalars. If perl has a means of doing shell-like expansions on strings like this, we can add it simply enough. But there may be annoying quoting issues (since in the shell you can do the appropriate escaping, whereas here it's treated as verbatim). Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature

