diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-06 12:29:53 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-06 12:29:53 -0700 |
commit | cba14d85a854df8b5f24342c072acf21813761b6 (patch) | |
tree | 60b6fd20ef1ba10ebbc1ddf8dc6e11908aa063c2 /src/egl | |
parent | 50f7e6fb5f0754093e11b781b916034001d44a09 (diff) | |
download | external_mesa3d-cba14d85a854df8b5f24342c072acf21813761b6.zip external_mesa3d-cba14d85a854df8b5f24342c072acf21813761b6.tar.gz external_mesa3d-cba14d85a854df8b5f24342c072acf21813761b6.tar.bz2 |
Error consistently when running recursive make
When changing directories and running a sub-make, ensure that both the
cd and make commands propagate errors to the parent make.
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/Makefile b/src/egl/Makefile index 931e9d0..036bf1f 100644 --- a/src/egl/Makefile +++ b/src/egl/Makefile @@ -11,7 +11,7 @@ default: subdirs subdirs: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir ; $(MAKE)) || exit 1 ; \ + (cd $$dir && $(MAKE)) || exit 1 ; \ fi \ done @@ -19,6 +19,6 @@ subdirs: clean: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir ; $(MAKE) clean) ; \ + (cd $$dir && $(MAKE) clean) ; \ fi \ done |