diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 20:29:42 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 20:29:42 -0400 |
commit | c8c524bd20f3fc9e65af55b17e1bb2a8548a574a (patch) | |
tree | 849930b7a54456e7b9f22bfbbe848f1bf86932c4 /cron-jobs/sourceballs | |
parent | cab7fb7288f6f3f02b80f6145dd5650b83f809fa (diff) |
clean up cron-jobs/sourceballs*
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-x | cron-jobs/sourceballs | 7 |
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" |