summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asp.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/asp.in b/asp.in
index 9077617..6d9e69c 100644
--- a/asp.in
+++ b/asp.in
@@ -163,9 +163,9 @@ dump_packages() {
for remote in "${ARCH_GIT_REPOS[@]}"; do
"$dumpfn" "$remote" refspecs
if [[ $refspecs ]]; then
- printf '%s\n' "${refspecs[@]/#packages/"$remote"}"
+ printf '%s\n' "${refspecs[@]##*/}"
fi
- done
+ done | sort
}
list_local() {