[prev in list] [next in list] [prev in thread] [next in thread] 

List:       crux
Subject:    Re: Possible bug in prt-get
From:       Michal Soltys <soltys () ziu ! info>
Date:       2011-03-23 13:11:53
Message-ID: 4D89F199.8040506 () ziu ! info
[Download RAW message or body]

W dniu 21.03.2011 09:22, Michal Soltys pisze:
>
> Just use pkg{mk,add,rm} for Pkgfiles bent towards versioning systems (I
> do analogous stuff for git). Or, make sure everything needed for shell
> expansion is in version=, e.g.
>
> version=rev-$(stuff you had in TIP, without dependency on other shell
> lines)
>
>

Small correction, after looking a bit more.

prt-get handles $() and ``, but only with uname -r, date "+..." or date 
'+...'. I generally use the last one in my Pkgfiles (the ones depending 
on git), so I never noticed any problems.

Note it only applies to version= . release= is taken verbatim without 
any interpretation.



_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic