summaryrefslogtreecommitdiffstats
path: root/cron-jobs/create-filelists
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-10-30 03:19:44 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-10-30 03:19:44 +0100
commit78c6a7916836fd10fb232d617b6eca3ae5c48089 (patch)
tree5892622dc850872c54059ec371dc9832650749f6 /cron-jobs/create-filelists
parent38c7241ad2528b29a65a0b81b980e76d1046e94e (diff)
downloaddbscripts-78c6a7916836fd10fb232d617b6eca3ae5c48089.tar.gz
dbscripts-78c6a7916836fd10fb232d617b6eca3ae5c48089.tar.xz
create-filelists: Call getpkgname for real
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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