diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-05-25 01:08:36 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-05-25 01:08:36 -0600 |
commit | f1fa54c8637f00587193879f13ab2060d4e7afbb (patch) | |
tree | befb91542ac860d9fb4742013e0cf0946ce82217 | |
parent | 148bfaf36c04106e4ff1043dff2c5f6c3d75149e (diff) |
Remove pointless differences from Arch Linux
-rwxr-xr-x | cron-jobs/devlist-mailer | 2 | ||||
-rwxr-xr-x | cron-jobs/sourceballs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/devlist-mailer b/cron-jobs/devlist-mailer index cede4fc..7f298b9 100755 --- a/cron-jobs/devlist-mailer +++ b/cron-jobs/devlist-mailer @@ -3,7 +3,7 @@ # It does nothing if no output # Load $LIST and $FROM from the config file -source "$(dirname "$(readlink -e "$0")")/../config" +. "$(dirname "$(readlink -e "$0")")/../config" SUBJECT="Repository Maintenance $(date +"%d-%m-%Y")" if [ $# -ge 1 ]; then diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index b696dd4..c02912a 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -64,7 +64,7 @@ for repo in "${PKGREPOS[@]}"; do continue fi # Check if the license or .force file does not enforce creating a source package - if ! ([[ ${#ALLOWED_LICENSES[@]} -eq 0 ]] || chk_license "${pkglicense[@]}" || grep -Fqx "${pkgbase}" "${dirname}/sourceballs.force"); then + if ! ([[ -z ${ALLOWED_LICENSES[*]} ]] || chk_license "${pkglicense[@]}" || grep -Fqx "${pkgbase}" "${dirname}/sourceballs.force"); then continue fi # Store the expected file name of the source package |