On 02/05/2011 04:17 PM, Bernardo Barros wrote:
> yep!
>
> could you give an example of a bash function that gets the $pkgver from a file?
Hi... I'm not verry good in bash function but this should work:
pkgver() { . $1 ; echo $pkgver ;}
Put it in your .bashrc and then run: pkgver PKGBUILD
But it won't work with zsh...