summaryrefslogtreecommitdiff
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index b709d14..07bc7aa 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -59,7 +59,8 @@ for repo in $repos; do
for pkg in *$PKGEXT; do
pkgname=$(getpkgname $pkg)
srcpath="$srcbase/"
- srcpkg="${pkg//-$arch$PKGEXT/$SRCEXT}"
+ 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