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