summaryrefslogtreecommitdiff
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 20:29:42 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 20:29:42 -0400
commitc8c524bd20f3fc9e65af55b17e1bb2a8548a574a (patch)
tree849930b7a54456e7b9f22bfbbe848f1bf86932c4 /cron-jobs/sourceballs
parentcab7fb7288f6f3f02b80f6145dd5650b83f809fa (diff)
clean up cron-jobs/sourceballs*
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs7
1 files changed, 3 insertions, 4 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index c12a128..3722449 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -63,11 +63,10 @@ for repo in "${PKGREPOS[@]}"; do
if grep -Fqx "${pkgbase}" "${dirname}/sourceballs.skip"; then
continue
fi
- # Commenting out, we'll sourceball everything
# Check if the license or .force file does not enforce creating a source package
-# if ! (chk_license ${pkglicense[@]} || grep -Fqx "${pkgbase}" "${dirname}/sourceballs.force"); then
-# continue
-# fi
+ if ! ([[ ${#ALLOWED_LICENSES[@]} -eq 0 ]] || chk_license ${pkglicense[@]} || grep -Fqx "${pkgbase}" "${dirname}/sourceballs.force"); then
+ continue
+ fi
# Store the expected file name of the source package
echo "${pkgbase}-${pkgver}${SRCEXT}" >> "${WORKDIR}/expected-src-pkgs"