diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-21 17:02:09 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-21 17:02:09 +0100 |
commit | 027e0f547c445cce252c8cccfe3d5342de9bb5ec (patch) | |
tree | 24ac28f24a6b8c687f1c08dd8ac19887e6c82063 | |
parent | ef593548773265e0418f4a51a0ea817850dfa0ed (diff) |
sourceballs: Of course sort does only operate on lines
-rwxr-xr-x | cron-jobs/sourceballs | 2 |
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} |