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>
This commit is contained in:
Andres P 2010-06-18 19:21:10 -04:30 committed by Allan McRae
parent 3e4d2c3aa6
commit d7dccd5419
1 changed files with 2 additions and 2 deletions

View File

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