From 2816cab18aae8bc8c7fc796cdfa938c8f15cd0c8 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 6 Jun 2015 16:17:39 -0600 Subject: toru-utils: tidy up - use libremessages:setup_traps instead of the copy/pasted solution - get_pkgbuilds: don't leak the "extra" variable - fix up quoting - get_pkgbuilds: don't use the global LASTSYNCFILE, get it as an argument * toru-path: adjust for this --- src/toru/toru-path | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/toru/toru-path') diff --git a/src/toru/toru-path b/src/toru/toru-path index 6d9ae8e..a81ee53 100755 --- a/src/toru/toru-path +++ b/src/toru/toru-path @@ -44,7 +44,7 @@ for (( i = ${#REPOS[@]}-1 ; i >= 0 ; i-- )); do [ -d "${ABSROOT}${REPOS[$i]}" ] && \ fullrepos+=("${ABSROOT}${REPOS[$i]}") done -pkgbuilds=($(get_pkgbuilds ${fullrepos[@]})) +pkgbuilds=($(get_pkgbuilds "${LASTSYNCFILE}" "${fullrepos[@]}")) msg "Updating path cache" msg2 "${#pkgbuilds[@]} PKGBUILDs to update" -- cgit v1.2.3-54-g00ecf