diff options
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-x | scripts/make.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh index 9c61292d..23edc195 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -59,7 +59,8 @@ then echo "USE_TOYBOX(NEWTOY(toybox, NULL, TOYFLAG_STAYROOT))" > generated/newtoys.h $SED -n -e 's/^USE_[A-Z0-9_]*(/&/p' toys/*/*.c \ | $SED 's/\(.*TOY(\)\([^,]*\),\(.*\)/\2 \1\2,\3/' | sort -s -k 1,1 \ - | $SED 's/[^ ]* //' >> generated/newtoys.h || exit 1 + | $SED 's/[^ ]* //' >> generated/newtoys.h + [ $? -ne 0 ] && exit 1 fi [ ! -z "$V" ] && echo "Which C files to build..." |