summaryrefslogtreecommitdiff
path: root/db-cleanup
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-04 23:25:56 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-04 23:25:56 -0500
commit65a57db930ced507fd057e8196ba5ef6ee21bb62 (patch)
tree58cd0d1316926fea54e7478fd639019659e5dde3 /db-cleanup
parentffe9ada1c43d5fd779863c4be2782f7b690a5fbc (diff)
parentd4f3035779dae2efc5c5baa527ebd82404207290 (diff)
Merge branch 'repo'
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 904c06e..841800b 100755
--- a/db-cleanup
+++ b/db-cleanup
@@ -43,7 +43,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
@@ -54,7 +54,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}/