summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres P <aepd87@gmail.com>2010-06-18 19:21:10 -0430
committerAllan McRae <allan@archlinux.org>2010-06-21 01:04:58 +1000
commitd7dccd541962f0dd8bf323ae11633e595bfb4922 (patch)
treee59f0bd6394c7fe7ec7c9c78c0e39ac67ed73974
parent3e4d2c3aa65416487939148828afb385de2ee146 (diff)
downloadpacman-d7dccd541962f0dd8bf323ae11633e595bfb4922.tar.xz
makepkg: remove unnecessary use of sort
pacman -Qq output is sorted according to the users LC_COLLATE setting as is needed for comm. Signed-off-by: Andres P <aepd87@gmail.com> [Allan: adjust commit message] Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index e1055885..c6bc7382 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1884,7 +1884,7 @@ if (( NODEPS || ( (NOBUILD || REPKG) && !DEP_BIN ) )); then
fi
elif type -p "${PACMAN%% *}" >/dev/null; then
if (( RMDEPS )); then
- original_pkglist=($(run_pacman -Qq | sort)) # required by remove_dep
+ original_pkglist=($(run_pacman -Qq)) # required by remove_dep
fi
deperr=0
@@ -1895,7 +1895,7 @@ elif type -p "${PACMAN%% *}" >/dev/null; then
resolve_deps ${makedepends[@]} || deperr=1
if (( RMDEPS )); then
- current_pkglist=($(run_pacman -Qq | sort)) # required by remove_deps
+ current_pkglist=($(run_pacman -Qq)) # required by remove_deps
fi
if (( deperr )); then