Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   makepkg.sh.in - fix remove_deps test for deps to be removed (http://www.linux-archive.org/archlinux-pacman-development/628883-makepkg-sh-fix-remove_deps-test-deps-removed.html)

02-04-2012 01:06 PM

makepkg.sh.in - fix remove_deps test for deps to be removed
 
From: Andrew Gregory <andrew.gregory.8@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
" "${original_pkglist[@]}")
<(printf "%s
" "${current_pkglist[@]}") || true))
- if [[ -n deplist ]]; then
+ if [[ -z deplist ]]; then
return
fi

--
1.7.9


All times are GMT. The time now is 05:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.