index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2020-06-02 18:16:48 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-06-11 10:53:24 +1000 |
commit | 381e11375569fa7588b1297e0e744749bdafe8f5 (patch) | |
tree | 5eae898573fb311df2e109580c78b0597d4de536 /scripts | |
parent | 817f9fb715b4e90d28bc141dfccfc530b9e951dc (diff) |
-rw-r--r-- | scripts/libmakepkg/source/file.sh.in | 2 |
diff --git a/scripts/libmakepkg/source/file.sh.in b/scripts/libmakepkg/source/file.sh.in index 819320c2..2b804564 100644 --- a/scripts/libmakepkg/source/file.sh.in +++ b/scripts/libmakepkg/source/file.sh.in @@ -42,7 +42,7 @@ download_file() { # find the client we should use for this URL local -a cmdline IFS=' ' read -a cmdline < <(get_downloadclient "$proto") - (( ${#cmdline[@]} )) || exit + wait $! || exit local filename=$(get_filename "$netfile") local url=$(get_url "$netfile") |