Re: PKGBUILD work

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



[2011-02-05 12:02:53 -0200] Bernardo Barros:
>  But I'd like to know if I could do something like 'get-pkg-version',

If you trust the PKGBUILD:

	. PKGBUILD
	echo $pkgver

If you don't, then I would use AWK to parse it...

-- 
Gaetan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux