diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-08 10:43:49 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-08 10:43:49 -0300 |
commit | ebd8317901120abc9deab59532172074aa57d770 (patch) | |
tree | c563b247c3b3026887a91b75be68e4111e99e2bb /toru-utils | |
parent | 203fb2c1f543bfb3caa13a4108a9d9cd386903ae (diff) | |
parent | a0890dedb0ed2ba5c959ddd8cddf52fe4695baa9 (diff) |
Merge branch 'fauno'
Diffstat (limited to 'toru-utils')
-rwxr-xr-x | toru-utils | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -59,17 +59,14 @@ get_pkgbuilds() { $QUIET || warning "Forcing upgrade" # Get all PKGBUILDs - pkgbuilds=($(find $@ -mindepth 2 -maxdepth 3 -type f -name 'PKGBUILD')) - + extra="" else - # Only find newer than lastsyncfile and read everything else from cache - pkgbuilds=($(find $@ -mindepth 2 -maxdepth 3 -type f -name 'PKGBUILD' -newer ${LASTSYNCFILE})) - + extra=" -newer ${LASTSYNCFILE}" fi # Return all PKGBUILDs found - echo ${pkgbuilds[@]} + find $@ -mindepth 2 -maxdepth 3 -type f -name 'PKGBUILD' ${extra} } # End inmediately but print a useful message |