summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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