summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-01-08 14:57:48 +0100
committerDan McGee <dan@archlinux.org>2012-01-08 19:13:32 +0100
commit73d0d743bda5367fcab2453bbe21c15e481150c2 (patch)
tree71bcad7c7c455793dc505cb011e4b713b429a774 /lib
parent2b38f4eab7684e0f1e78b0b10953bf28915e963a (diff)
downloadpacman-73d0d743bda5367fcab2453bbe21c15e481150c2.tar.gz
pacman-73d0d743bda5367fcab2453bbe21c15e481150c2.tar.xz
makepkg: abort on missing download agent
makepkg would not abort on a missing download agent due to the output variable being declared local on the same line as the function call in the assignment. That would result in strange output such as: ==> Retrieving Sources... ==> ERROR: There is no agent set up to handle foo URLs. Check /etc/makepkg.conf. Aborting... -> Downloading foobaz... /home/arch/code/pacman/scripts/makepkg: line 401: foo://foobaz: No such file or directory ==> ERROR: Failure while downloading foobaz Aborting... Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions