diff options
Diffstat (limited to 'progs')
-rw-r--r-- | progs/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/progs/Makefile b/progs/Makefile index f925de5860b..6870630eb51 100644 --- a/progs/Makefile +++ b/progs/Makefile @@ -10,9 +10,7 @@ SUBDIRS = $(PROGRAM_DIRS) default: $(TOP)/configs/current @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - pushd $$dir ; \ - make ; \ - popd ; \ + (cd $$dir ; make) ; \ fi \ done @@ -20,8 +18,6 @@ default: $(TOP)/configs/current clean: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - pushd $$dir ; \ - make clean; \ - popd ; \ + (cd $$dir ; make clean) ; \ fi \ done |