aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-09-27 21:07:00 -0500
committerRob Landley <rob@landley.net>2014-09-27 21:07:00 -0500
commit5d4fa5742fee322187d80bc5a9a55d41a621f8b6 (patch)
treec475f5d9b25b80b0e2adef6a6cbc326da294f7fe
parent5e2fb272225e549587273940b4d8036771b3a238 (diff)
downloadtoybox-5d4fa5742fee322187d80bc5a9a55d41a621f8b6.tar.gz
Multi-build single.sh should exit with an error when build breaks.
-rwxr-xr-xscripts/single.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/single.sh b/scripts/single.sh
index cb67d3bb..c6416a35 100755
--- a/scripts/single.sh
+++ b/scripts/single.sh
@@ -23,5 +23,5 @@ do
-e "s/# \(CONFIG_TOYBOX_FLOAT\) $USET/\1=y/" \
"$KCONFIG_CONFIG" &&
make &&
- mv toybox $PREFIX$i || break
+ mv toybox $PREFIX$i || exit 1
done