summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-10 12:14:29 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-10 12:14:29 -0300
commitbd6c4657611cb103b6d42cb562a8ceafbe7029c9 (patch)
tree88d7ebfb5edb979d346ced2bab573fac57e09653
parent1873a2f71e77ffbd46258474851600bdb1ecc297 (diff)
Started to work on a recutils capable toru
-rwxr-xr-xtoru-path4
1 files changed, 2 insertions, 2 deletions
diff --git a/toru-path b/toru-path
index 5065a30..cc60543 100755
--- a/toru-path
+++ b/toru-path
@@ -5,7 +5,7 @@ source $(dirname $(command -v $0))/toru-utils
LASTSYNCFILE=${TORUPATH}/lastsync.paths
# TODO pass other paths via flags
-pkgbuilds=($(get_pkgbuilds ${ABSROOT}))
+pkgbuilds=($(get_pkgbuilds ${ABSROOT}/core))
paths=()
msg "Updating path cache"
@@ -20,7 +20,7 @@ for _pkgbuild in ${pkgbuilds[@]}; do
fullpath=$(dirname ${_pkgbuild})
for _pkg in ${pkgbase} ${pkgname[@]} ${provides[@]}; do
- paths+=(${_pkg/[<>=]*}:${fullpath})
+ recins -t ToruPath,t
done
unset pkgbase pkgname provides