diff options
author | Eric Norum <WENorum@lbl.gov> | 2003-02-05 21:00:12 +0000 |
---|---|---|
committer | Eric Norum <WENorum@lbl.gov> | 2003-02-05 21:00:12 +0000 |
commit | d3c2c6f1b984070644d68c989985e0b578a7396e (patch) | |
tree | 6a0b25970aab3e4b00948c1e60dee42afb36f8d8 /bit | |
parent | 2003-01-28 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-addon-packages-d3c2c6f1b984070644d68c989985e0b578a7396e.tar.bz2 |
Make sure that script terminates if a make fails.
Diffstat (limited to '')
-rwxr-xr-x | bit | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -13,15 +13,14 @@ PACKAGES="avl-1.4.0 ncurses-5.3 readline-4.3 libtecla-1.4.1" for p in $PACKAGES do - ( - cd $p - makefile="../RTEMS_Makefiles/Makefile.$p" - if [ \! -r "$makefile" ] - then - makefile="`echo $makefile | sed -e '/-.*/s///'`" - fi - make -w -f "$makefile" - ) + cd $p + makefile="../RTEMS_Makefiles/Makefile.$p" + if [ \! -r "$makefile" ] + then + makefile="`echo $makefile | sed -e '/-.*/s///'`" + fi + make -w -f "$makefile" + cd .. done for p in $PACKAGES |