git: 9front

Download patch

ref: 1bae6319deb7c0cd0b7a9835686147fa6558bbe5
parent: bf625960abea992476f9a26b8813f4c66516d751
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'
--