From 8515f4ecb7063a23d01a7bdc8083e8caceb4f67a Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 3 Apr 2014 23:20:48 +0200 Subject: [PATCH] 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. --- sys/src/cmd/eqn/mkfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/eqn/mkfile b/sys/src/cmd/eqn/mkfile index 34bf5be41..02dec8782 100644 --- a/sys/src/cmd/eqn/mkfile +++ b/sys/src/cmd/eqn/mkfile @@ -40,7 +40,7 @@ YFLAGS=-d -S 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'