[PATCH] Fix installation of kdebase for source/build path or $KDEDIR containing spaces
thiago at kde.org
Sun Dec 30 22:55:56 GMT 2007
Ingo Klöcker wrote:
>if the source/build path or $KDEDIR contain spaces then during
>installation of kdebase/workspace a few post-install commands fail
>because the spaces are not properly escaped.
>The attached patch should fix all those problems. It
>- properly escapes the path of kcheckpass when chowning/chmoding it,
>- properly escapes the path of mkpamserv when calling it,
>- properly escapes the path and arguments of genkdmconf when calling it.
>The patch is more or less straightforward, but given that I have
>basically no knowledge about cmake magic I thought I'd ask for a review
Does CMake have a backslash-escaping function we can use?
Otherwise, the patch will work for spaces, but not some other "weird"
caracters, including quotes and apostrophes.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel