summaryrefslogtreecommitdiff
path: root/cron-jobs/create-filelists
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/create-filelists')
-rwxr-xr-xcron-jobs/create-filelists3
1 files changed, 1 insertions, 2 deletions
diff --git a/cron-jobs/create-filelists b/cron-jobs/create-filelists
index b49f722..35325cf 100755
--- a/cron-jobs/create-filelists
+++ b/cron-jobs/create-filelists
@@ -45,8 +45,7 @@ for repo in $repos; do
# create file lists
for pkg in $repodir*${PKGEXT}; do
- basename="$(basename "$pkg")"
- pkgname="$(getpkgname "$basename")"
+ pkgname="$(getpkgname "$pkg")"
tmppkgdir="${TMPDIR}/${repodir}/${pkgname}"
mkdir -p "$tmppkgdir"
if [ -f "${CACHEDIR}/${repodir}/${pkgname}/files" ]; then