[PATCH] Fix installation of kdebase for source/build path or $KDEDIR containing spaces

Ingo Klöcker kloecker at kde.org
Sun Dec 30 22:38:36 GMT 2007


Hi,

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 
before committing.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebase-fix-installation-with-spaces-in-paths.diff
Type: text/x-diff
Size: 2053 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071230/aeb98f75/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071230/aeb98f75/attachment.sig>


More information about the kde-core-devel mailing list