index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-02-05 10:24:58 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-06 12:52:59 -0600 |
commit | bb071f4eb20810216b731f6792a32c148eb78931 (patch) | |
tree | eccd7085fc977fb6baaa6a67212cd11b5e8fe35e | |
parent | 3cf870eda5842fb07e384026c7dc4279d2c26aca (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 13415fbe..001178ad 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -507,8 +507,8 @@ download_sources() { local netfile for netfile in "${source[@]}"; do - local file - if file=$(get_filepath "$netfile"); then + local file=$(get_filepath "$netfile" || true) + if [[ -n "$file" ]]; then msg2 "$(gettext "Found %s")" "${file##*/}" ln -sf "$file" "$srcdir/" continue |