about summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-22 11:35:08 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-22 11:35:08 -0700
commita6deb48067f8049922f16ed3489896f7749fd39f (patch)
tree3befb3d6c9237d0e928fa3149f3f1306173429c9 /build
parent07cae6102d7f065cc42b769334d717f631eca9b0 (diff)
downloadmu-a6deb48067f8049922f16ed3489896f7749fd39f.tar.gz
3551
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index 5d5d0fc7..cbf39994 100755
--- a/build
+++ b/build
@@ -98,9 +98,12 @@ older_than mu.cc $LAYERS enumerate/enumerate tangle/tangle && {
   # exception to the rules above: we combine 'older_than' and 'update' here
   # because we sometimes want to hack directly on mu.cc and not lose our
   # changes if they're newer.
-  # ./tangle/tangle $LAYERS |update mu.cc
+
+  # shorter version but continues unnecessarily if tangle dies
+  #   ./tangle/tangle $LAYERS |update mu.cc
   ./tangle/tangle $LAYERS > mu_tmp.cc  # die if this fails
   cat mu_tmp.cc |update mu.cc
+  rm mu_tmp.cc
 }
 
 older_than cleave/cleave cleave/cleave.cc && {