From 76423ca6e2df32a77a771f925284f4fef102bb84 Mon Sep 17 00:00:00 2001 From: Taeyeon Mori Date: Sat, 11 Mar 2017 23:41:33 +0100 Subject: [PATCH] aur.sh: Fix typo in dependency exclusion check --- bin/aur.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/aur.sh b/bin/aur.sh index da40ea3..a240b06 100755 --- a/bin/aur.sh +++ b/bin/aur.sh @@ -495,7 +495,7 @@ done if (( ${#exclude} )); then all_affected_pkgs="${AFFECTED_PKGS[*]}" AFFECTED_PKGS=(${AFFECTED_PKGS:|exclude}) - if ! ( "$all_affected_pkgs" = "${AFFECTED_PKGS[*]}" ); then + if ! [[ "$all_affected_pkgs" == "${AFFECTED_PKGS[*]}" ]]; then warn "[AUR] Some dependencies have been excluded!" fi fi