[arch-general] Current PKGBUILD that pulls directly from git? [SOLVED]

John K Pate j.k.pate at sms.ed.ac.uk
Tue Feb 21 17:09:09 EST 2012


> 
> for i in $(find /var/abs -name PKGBUILD); do if grep "git clone" $i; then echo 
> "found in $i"; fi; done
> 
> was the ticket!

grep -l "git clone" /var/abs/*/*/PKGBUILD

or if you're uncertain about the directory structure

find /var/abs/ -name PKGBUILD -exec grep -l "git clone" {} \;

are a bit more straightforward

==
John K Pate http://homepages.inf.ed.ac.uk/s0930006/


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the arch-general mailing list