diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-29 19:19:44 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-29 19:19:44 -0700 |
commit | 78c6a7916836fd10fb232d617b6eca3ae5c48089 (patch) | |
tree | 5892622dc850872c54059ec371dc9832650749f6 /cron-jobs/create-filelists | |
parent | 38c7241ad2528b29a65a0b81b980e76d1046e94e (diff) |
create-filelists: Call getpkgname for real
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/create-filelists')
-rwxr-xr-x | cron-jobs/create-filelists | 3 |
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 |