tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: First pkg_dry milestone
In article
<b0459d5c0904140827w5cd69480g689d85af47214a47%mail.gmail.com@localhost> matthew
wrote:
: I've been using /(.+)-(.+)/ in perl to get pkgname=$1 and
: pkgversion=$2. Also, a binary repository includes FILE_NAME (pkg_info
: -aX doesn't seem to have it) in pkg_summary.gz, which should match
: PKGNAME.tgz, but I don't know if that's always true.
That should be /(.+)-([^-]+)/, since the package name may contain ``-''.
yours,
dillo
Home |
Main Index |
Thread Index |
Old Index