diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-09 13:28:36 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-09 13:28:36 -0300 |
commit | 2a7f3dbbda2bc68ed21813b7d672ee2c32ae9ac7 (patch) | |
tree | 128883c97a88bc7a69a64c8b947d18f3345c4c49 /toru-utils | |
parent | e65a1c3238933e4f2909d34f11dc4fce3509a6fb (diff) | |
parent | 7db00e8e126f890cca5f742238ef438b7d418d28 (diff) |
Merge branch 'master' of http://projects.parabolagnulinux.org/libretools
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 |