ref: 8515f4ecb7063a23d01a7bdc8083e8caceb4f67a
parent: 95c100a3d697914c94e65ccecd1426a4f94000b0
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Apr 3 19:20:48 EDT 2014
eqn: fix parallel build (thanks eekee) dont just mv y.tab.c, this can cause y.tab.c and y.tab.h to be accidently regenerated breaking parallel build.
--- a/sys/src/cmd/eqn/mkfile
+++ b/sys/src/cmd/eqn/mkfile
@@ -40,7 +40,7 @@
CFLAGS=-c
eqn.c: y.tab.c prevy.tab.h
- mv y.tab.c $target
+ cp y.tab.c $target
prevy.tab.h: y.tab.h
rc -c 'cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h'