From d7dccd541962f0dd8bf323ae11633e595bfb4922 Mon Sep 17 00:00:00 2001 From: Andres P Date: Fri, 18 Jun 2010 19:21:10 -0430 Subject: 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 [Allan: adjust commit message] Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3-24-g4f1b