On Wed, Oct 21, 2009 at 11:41 PM, Henning Garus <[email protected]> wrote: >> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in >> index 40367ae..78b6904 100644 >> --- a/scripts/makepkg.sh.in >> +++ b/scripts/makepkg.sh.in >> @@ -336,7 +336,12 @@ download_file() { >> dlcmd="$dlcmd \"$url\"" >> fi >> >> - eval $dlcmd || return $? >> + local ret=0 >> + eval "$dlcmd || ret=\$?" > > eval $dlcmd || ret=$? seems to work as well. >
Hmm, I am pretty sure I tried that and it did not work either.
