index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-10-21 20:51:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-21 20:51:21 +0200 |
commit | 7c9e3f95079e3f3ab1e056a3064b161501ca7f7c (patch) | |
tree | c19ab98665a8014ae135f46bce0e6b73c1914aac /bin | |
parent | b4269ddd7dcc78d632bc787644cf7eca7404c82f (diff) |
-rwxr-xr-x | bin/build-packages | 8 |
diff --git a/bin/build-packages b/bin/build-packages index 1ab50c2..9e2cd17 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -315,13 +315,15 @@ while [ "${count}" -ne 0 ]; do T s/\$repo/'"${repository}"'/g s/\$arch/x86_64/g - s|/$|| - s|$|/'"${pkg_file}"'| - s/-i686\(\.pkg\.tar\.xz\)$/-x86_64\1/ p ' | \ shuf } | \ + sed ' + s|/[^/]\+\.pkg\.tar\.xz$|| + s|$|/'"${pkg_file}"'| + s/-i686\(\.pkg\.tar\.xz\)$/-x86_64\1/ + ' | \ while read -r url; do if wget -q -nd "${url}"; then break; |