Comment 14 for bug 1004592

Revision history for this message
Iven Hsu (ivenvd) wrote :

For those who need a sed:

    find -type f \( -name 'CMakeLists.txt' -or -name '*.cmake' \) -exec sed -e 's/COMMAND python/COMMAND python2/g' -i {} \;
    find compizconfig/ccsm -type f -exec sed -e 's|^#!.*python|#!/usr/bin/env python2|g' -i {} \;

For a patch see the attachment.

Tested in Arch Linux. Should also work for Ubuntu(not tested).