spaces in the path

Michael Pyne michael.pyne at kdemail.net
Tue Apr 11 18:46:51 CEST 2006


On Tuesday 11 April 2006 12:35, Alexander Neundorf wrote:
> On Tuesday 11 April 2006 10:57, Dirk Mueller wrote:
> > On Monday, 10. April 2006 20:43, Bill Hoffman wrote:
> > > So, should kdelibs support being built in a directory with spaces in
> > > the path?
> >
> > Yes, it is supposed to work (failures of such indicate a shell quoting
> > problem, which is sort of serious).
>
> The problem isn't in cmake, it's in the shell script:
>
> I was not able to write a shell script which forwards its arguments to a
> program it calls:
>
> #!/bin/sh
>
> dcopidl2cpp $@
>
> What's the correct way to do this ?

#!/bin/sh

dcopidl2cpp "$@"

There are sh-rules for expanding $@ in quoted strings, but I think what I just 
typed is accurate.

Regards,
 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060411/35d1d4af/attachment.pgp 


More information about the Kde-buildsystem mailing list