index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-15 23:03:51 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-20 12:32:37 -0600 |
commit | 003adb7646c6e7d00b6cac26586aa3678ade660b (patch) | |
tree | cec4f7c2d11536785401569d7a3488f8bf34eb5c /scripts/makepkg.sh.in | |
parent | 3b464dc89774ea83d4fe4c837b751d4ecc637e43 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 219e2d17..ad95356c 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -464,6 +464,12 @@ download_sources() { continue fi + # if we get here, check to make sure it was a URL, else fail + if [ "$file" = "$netfile" ]; then + error "$(gettext "%s was not found in the build directory and is not a URL.")" "$netfile" + exit 1 # $E_MISSING_FILE + fi + # find the client we should use for this URL local dlclient=$(get_downloadclient $netfile) || exit $? |