# HG changeset patch # User Charlie Shepherd # Date 1201272241 0 # Node ID 085395c1471d7a9f61890ea0bca139d4ecca9645 # Parent d9ea4ca7ae8c7b167dd2e549f04f15ff047f6b9f Die on compilation or stripping failure diff -r d9ea4ca7ae8c -r 085395c1471d scripts/make.sh --- a/scripts/make.sh Sun Jan 27 15:26:32 2008 -0600 +++ b/scripts/make.sh Fri Jan 25 14:44:01 2008 +0000 @@ -93,5 +93,6 @@ echo "Compile toybox..." -$DEBUG $CC $CFLAGS -I . -o toybox_unstripped $OPTIMIZE main.c lib/*.c $TOYFILES -$DEBUG $STRIP toybox_unstripped -o toybox +$DEBUG $CC $CFLAGS -I . -o toybox_unstripped $OPTIMIZE \ + main.c lib/*.c $TOYFILES || exit 1 +$DEBUG $STRIP toybox_unstripped -o toybox || exit 1