summaryrefslogtreecommitdiff
path: root/toru-path
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-14 14:47:14 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-14 14:47:14 -0300
commit55abb1e683ace68905f987bdcd452df6e709a9e8 (patch)
treef7f3ac1d664b3db3aa58d526800ccb5b4d96b253 /toru-path
parentb4b5a1441b224299d529380f6b8e19ebd7393718 (diff)
Perform cleanup to avoid bogus paths
Diffstat (limited to 'toru-path')
-rwxr-xr-xtoru-path3
1 files changed, 3 insertions, 0 deletions
diff --git a/toru-path b/toru-path
index bdf2f23..7500aed 100755
--- a/toru-path
+++ b/toru-path
@@ -22,8 +22,11 @@ for _pkgbuild in ${pkgbuilds[@]}; do
for _pkg in ${pkgname[@]} ${provides[@]}; do
paths+=(${_pkg/[<>=]*}:${fullpath})
done
+
+ unset pkgname provides
done
+# TODO remove old paths
echo ${paths[@]} | tr ' ' "\n" | sort >> ${TORUPATH}/paths
lastsync ${LASTSYNCFILE}