summaryrefslogtreecommitdiffstats
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-21 17:02:09 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-21 17:02:09 +0100
commit027e0f547c445cce252c8cccfe3d5342de9bb5ec (patch)
tree24ac28f24a6b8c687f1c08dd8ac19887e6c82063 /cron-jobs/sourceballs
parentef593548773265e0418f4a51a0ea817850dfa0ed (diff)
downloaddbscripts-027e0f547c445cce252c8cccfe3d5342de9bb5ec.tar.gz
dbscripts-027e0f547c445cce252c8cccfe3d5342de9bb5ec.tar.xz
sourceballs: Of course sort does only operate on lines
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 23e8421..b708009 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -22,7 +22,7 @@ for repo in ${PKGREPOS[@]}; do
# Read packages from db file
# Format is: <pkgbase|pkgname>/<pkgver>-<pkgrel>
pkgs=($(bsdtar -xOf "${dbfile}" \
- | awk '/^%NAME%/{getline b};/^%BASE%/{getline b};/^%VERSION%/{getline v};/^%ARCH%/{printf "%s/%s ", b, v}' \
+ | awk '/^%NAME%/{getline b};/^%BASE%/{getline b};/^%VERSION%/{getline v};/^%ARCH%/{printf "%s/%s\n", b, v}' \
| sort -u))
repo_unlock ${repo} ${arch}