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

upstream version in debian/rules in a $VARIABLE?



Hi,

Do I have easy access to the upstream version in debian/rules?

Of course, I can get it, but that'd be silly if it's already there.

dpkg-parsechangelog  | grep ^Version: | cut -f 2 -d \  | cut -f 1 -d -

(I know, I really should read the sed and awk docs, it's probably easy to 
fold grep, cut, cut into one.)

cheers
-- vbi

-- 
featured link: http://www.pool.ntp.org

Attachment: pgpzDAjt1qLDM.pgp
Description: PGP signature


Reply to: