summaryrefslogtreecommitdiff
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-08-18 16:18:22 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-18 16:18:22 -0700
commitb40d217f2baf30f5d7c5979618ff940e43636007 (patch)
treeece48cf93830008371d0cae628ce7c189b0e50e9 /cron-jobs/sourceballs
parentc7c797f0863c41f1e7ef9e17b408dab84ef493e6 (diff)
Replace pkgname with pkgbase, for split packages
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 02ebc66..4353935 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -45,26 +45,26 @@ for repo in $repos; do
fi
cd $ftppath
for pkg in *$PKGEXT; do
- pkgname=$(getpkgname $pkg)
+ pkgbase=$(getpkgbase $pkg)
srcpath="$srcbase/"
srcpkg="${pkg//$PKGEXT/$SRCEXT}"
srcpkg="${srcpkg//-$arch/}"
#Don't do anything for package in this 'blacklist'
- if grep "^$pkgname\$" "$dirname/sourceballs.skip" >/dev/null 2>&1; then
+ if grep "^$pkgbase\$" "$dirname/sourceballs.skip" >/dev/null 2>&1; then
continue
fi
#Use this file to 'whitelist' or force building some sourceballs,
# skipping the license check
force=""
- if grep "^$pkgname\$" "$dirname/sourceballs.force" >/dev/null 2>&1; then
+ if grep "^$pkgbase\$" "$dirname/sourceballs.force" >/dev/null 2>&1; then
force="-f"
fi
if [ ! -f "$srcpath$srcpkg" ]; then
if ! $dirname/../misc-scripts/make-sourceball $force \
- $pkgname $repo $arch 2>>"$srcbase/errors.txt"; then
+ $pkgbase $repo $arch 2>>"$srcbase/errors.txt"; then
FAILED_PKGS="$FAILED_PKGS $pkg"
fi
fi