diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-07-14 22:27:39 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-07-14 22:27:39 +0000 |
commit | 3a9c9a2a17023414456e1607dbc7d0698725e300 (patch) | |
tree | c4ebba5eb999ae8b65713d8e6456f458d1515413 /include/shell.sh | |
parent | 4dbba92a2a76deafc662f563de5a2cbdf8996113 (diff) | |
download | master-187ad058-3a9c9a2a17023414456e1607dbc7d0698725e300.tar.gz master-187ad058-3a9c9a2a17023414456e1607dbc7d0698725e300.tar.bz2 master-187ad058-3a9c9a2a17023414456e1607dbc7d0698725e300.zip |
scripts/feeds: return error status from feed update
This patch is a modified version of the patch being discussed at here:
https://patchwork.ozlabs.org/patch/471303/
from Martin Strbacka <martin.strbacka@nic.cz>
My version modifies scripts/feeds so that an error with one of the feeds just
raises the error flag, but script continues and tries to update the other
feeds. After all feeds have been updated, the script returns 1 if at least
one feed failed, and 0 on success with all feeds. The user can then utilise
the status in his build script, if he wants.
signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46374 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/shell.sh')
0 files changed, 0 insertions, 0 deletions