Opened 12 years ago

Closed 12 years ago

#64 closed defect (fixed)

Error in gmake modules_clean

Reported by: jdaniel@MIT.EDU Owned by: nelhage@mit.edu
Priority: minor Milestone:
Component: internals Keywords:
Cc:

Description

# gmake modules_clean
for i in perl/modules/Jabber perl/modules/IRC perl/modules/WordWrap; do \
        cd $i; test ! -f Makefile || make clean; \
done
/bin/sh: perl/modules/IRC: does not exist
gmake: *** [modules_clean] Error 1

Suggested fix: add parenthesis on the cd ... so it happens in a sub-shell

-        cd $i; test ! -f Makefile || make clean; \
+       (cd $i; test ! -f Makefile || make clean;) \

Change History (1)

comment:1 Changed 12 years ago by nelhage@MIT.EDU

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.