diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-30 03:19:44 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-30 03:19:44 +0100 |
commit | 78c6a7916836fd10fb232d617b6eca3ae5c48089 (patch) | |
tree | 5892622dc850872c54059ec371dc9832650749f6 | |
parent | 38c7241ad2528b29a65a0b81b980e76d1046e94e (diff) | |
download | dbscripts-78c6a7916836fd10fb232d617b6eca3ae5c48089.tar.gz dbscripts-78c6a7916836fd10fb232d617b6eca3ae5c48089.tar.xz |
create-filelists: Call getpkgname for real
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-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 |