tadd tracing cd prints - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 03609b0fe686fc67a1f40f5e30b503b66d338927
parent 17e1150a543d1a495a529d36b4b0e742c85d4af8
Author: rsc 
Date:   Sat, 26 Nov 2005 15:39:32 +0000

add tracing cd prints

Diffstat:
  M src/mkdirs                          |       2 +-
  M src/mkfile                          |       5 ++---

2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/mkdirs b/src/mkdirs
t@@ -1,7 +1,7 @@
 dir-%:V:
         for i in $DIRS
         do
-                (cd $i; mk $MKFLAGS $stem)
+                (cd $i; echo cd `pwd`';' mk $MKFLAGS $stem; mk $MKFLAGS $stem)
         done
 
 all:V: dir-all
diff --git a/src/mkfile b/src/mkfile
t@@ -14,7 +14,7 @@ libs:V: libs-all
 libs-%:V:
         for i in $LIBDIRS
         do
-                (cd $i; mk $stem)
+                (cd $i; echo cd `pwd`';' mk $MKFLAGS $stem; mk $MKFLAGS $stem)
         done
 
 MKDIRS=\
t@@ -29,8 +29,7 @@ mkmk.sh:VD:
                 echo cd ..
                 for i in libbio libregexp cmd/mk
                 do        
-                        echo cd $i
-                        (cd $i; mk -n -a install)
+                        (cd $i; echo cd `pwd`; mk -n -a install)
                         echo cd ..
                 done
         ) | sed '