makepkg.sh.in - fix remove_deps test for deps to be removed

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Andrew Gregory 2012-02-04 09:06:05 -05:00 committed by Dan McGee
parent 17e71fc908
commit 0fdf0b19ce
1 changed files with 1 additions and 1 deletions

View File

@ -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