summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndres P <aepd87@gmail.com>2010-06-19 01:51:10 +0200
committerAllan McRae <allan@archlinux.org>2010-06-20 17:04:58 +0200
commitd7dccd541962f0dd8bf323ae11633e595bfb4922 (patch)
treee59f0bd6394c7fe7ec7c9c78c0e39ac67ed73974 /scripts
parent3e4d2c3aa65416487939148828afb385de2ee146 (diff)
downloadpacman-d7dccd541962f0dd8bf323ae11633e595bfb4922.tar.gz
pacman-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>
Diffstat (limited to 'scripts')
-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