summaryrefslogtreecommitdiff
path: root/src/aur
diff options
context:
space:
mode:
Diffstat (limited to 'src/aur')
-rwxr-xr-xsrc/aur2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aur b/src/aur
index a09c923..86b93e6 100755
--- a/src/aur
+++ b/src/aur
@@ -103,7 +103,7 @@ main() {
local s=0
pkgbuild-check-licenses || s=$?
for i in 1 2 4; do
- if [[ $s == $(($s & $i)) ]]; then
+ if [[ $s -eq $(($s & $i)) ]]; then
case $i in
1) warning "pkgbuild-check-licenses encountered an error";;
2) warning "This PKGBUILD has an uncommon license";;