From 78c6a7916836fd10fb232d617b6eca3ae5c48089 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 29 Oct 2009 19:19:44 -0700 Subject: create-filelists: Call getpkgname for real Signed-off-by: Aaron Griffin --- cron-jobs/create-filelists | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cron-jobs/create-filelists') 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 -- cgit v1.2.3-24-g4f1b