[Exherbo-dev] scm_user_customize

Ali Polatel alip at exherbo.org
Sat Jan 8 01:11:59 GMT 2011


Greetings,

I've just added basic support for user customization of SCM variables
into scm.exlib. You may define the function scm_user_customize() in
/etc/paludis/bashrc.

Here's what I use:
 
case "${CATEGORY}/${PN}" in
    dev-libs/pinktrace)
        scm_user_customize () {
            SCM_BRANCH="easy"
        }
        ;;
    sys-apps/paludis)
        scm_user_customize () {
            SCM_REPOSITORY="file:///home/alip/src/paludis/.git"
        }
        ;;
esac

This is very simple and works for me.

-- 
Regards,
Ali Polatel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/exherbo-dev/attachments/20110108/319523a8/attachment.pgp>


More information about the Exherbo-dev mailing list