[pacman-dev] [PATCH] makepkg.sh.in - fix remove_deps test for deps to be removed

andrew.gregory.8 at gmail.com andrew.gregory.8 at gmail.com
Sat Feb 4 09:06:05 EST 2012


From: Andrew Gregory <andrew.gregory.8 at gmail.com>

---
 scripts/makepkg.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 8274255..cca0fac 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -519,7 +519,7 @@ remove_deps() {
 	local deplist
 	deplist=($(grep -xvFf <(printf "%s\n" "${original_pkglist[@]}") \
 			<(printf "%s\n" "${current_pkglist[@]}") || true))
-	if [[ -n deplist ]]; then
+	if [[ -z deplist ]]; then
 		return
 	fi
 
-- 
1.7.9



More information about the pacman-dev mailing list