[buildd-tools-devel] Bug#630794: Bug#630794: sbuild: Could not create '~/build/logs': No such file or directory
Roger Leigh
rleigh at codelibre.net
Fri Jun 17 14:34:58 UTC 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110617/cd6f97b9/attachment.pgp>
More information about the Buildd-tools-devel
mailing list