diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-03-16 21:21:28 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-03-16 21:21:28 -0300 |
commit | b5c7d749c484eef82315872895d53b5cf7f97f66 (patch) | |
tree | 585645af6c27a9a7bc11a3b2b7891ff6baf79f3f /toru-utils | |
parent | 27b946270520befdb810dba04cfa0e7cab9a6bf9 (diff) | |
parent | da785c8272457a70f21942bf4943bfc69f4fbeb8 (diff) |
Merge branch 'fauno' of ssh://gparabola/libretools into 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 |