summaryrefslogtreecommitdiff
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-25 01:08:36 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-25 01:08:36 -0600
commitf1fa54c8637f00587193879f13ab2060d4e7afbb (patch)
treebefb91542ac860d9fb4742013e0cf0946ce82217 /cron-jobs/sourceballs
parent148bfaf36c04106e4ff1043dff2c5f6c3d75149e (diff)
Remove pointless differences from Arch Linux
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs2
1 files changed, 1 insertions, 1 deletions
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