summaryrefslogtreecommitdiff
path: root/db-cleanup
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 14:42:26 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 14:42:26 -0500
commit144e385b05c01546ee0d2203739e4294e43a0826 (patch)
tree0edf04c1be7591eeb135018c9074004c5c5dbd41 /db-cleanup
parentb57c78930fec71dc6c5ef8eaa5148a22f75a1fff (diff)
parent725ab5d12375dd593c375b1a494021bb96135d4f (diff)
Merge branch 'master' into cleanup
Conflicts: db-remove db-update local_config
Diffstat (limited to 'db-cleanup')
-rwxr-xr-xdb-cleanup4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-cleanup b/db-cleanup
index 364f400..57ef36e 100755
--- a/db-cleanup
+++ b/db-cleanup
@@ -42,7 +42,7 @@ for _repo in ${PKGREPOS[@]}; do
bsdtar tf "${dbfile}" | \
cut -d'/' -f1 | \
sort -u | \
- sed "s|$|*|" >> /tmp/$0.$$.filter
+ sed "s|$|*|" >> /tmp/${0##*/}.$$.filter
done
done
@@ -53,7 +53,7 @@ for POOL in ${PKGPOOLS[@]} ${SRCPOOLS[@]}; do
msg2 "${POOL}"
rsync ${EXTRAFLAGS} -va --delete-excluded \
- --include-from="/tmp/$0.$$.filter" \
+ --include-from="/tmp/${0##*/}.$$.filter" \
--exclude="*" \
${FTP_BASE}/${POOL}/ \
${FTP_BASE}/${POOL}/