tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: First pkg_dry milestone

In article 
<> matthew 
: 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 ``-''.


Home | Main Index | Thread Index | Old Index