summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2012-02-04 09:06:05 -0500
committerDan McGee <dan@archlinux.org>2012-02-06 05:34:55 -0600
commit0fdf0b19ced256d395366b24a669960416341d37 (patch)
treeecd52842d151874bd8625fa84d457dca3ae75c78 /scripts
parent17e71fc908df4a5df48c9054f6c0621d3c7b80ea (diff)
downloadpacman-0fdf0b19ced256d395366b24a669960416341d37.tar.xz
makepkg.sh.in - fix remove_deps test for deps to be removed
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 7faaac2b..29ed4f2f 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