From 385a56ee453053c53ed06961d3bf4a28a4414ca4 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Fri, 1 Jul 2005 22:13:10 +0000 Subject: [PATCH] Fixed a bison problem --- doc/makepanda/makepanda.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/makepanda/makepanda.py b/doc/makepanda/makepanda.py index 52a95f3f69..ce31aa1b71 100755 --- a/doc/makepanda/makepanda.py +++ b/doc/makepanda/makepanda.py @@ -1196,10 +1196,12 @@ def CompileBison(pre,dstc,dsth,src): CopyFile(PREFIX+"/tmp/", "thirdparty/win-util/bison.simple") bisonFullPath=os.path.abspath("thirdparty/win-util/bison.exe") oslocalcmd(PREFIX+"/tmp", bisonFullPath+" -y -d -p " + pre + " " + fn) + CopyFile(dstc, PREFIX+"/tmp/y_tab.c") + CopyFile(dsth, PREFIX+"/tmp/y_tab.h") if (COMPILER=="LINUXA"): oslocalcmd(PREFIX+"/tmp", "bison -y -d -p "+pre+" "+fn) - CopyFile(dstc, PREFIX+"/tmp/y.tab.c") - CopyFile(dsth, PREFIX+"/tmp/y.tab.h") + CopyFile(dstc, PREFIX+"/tmp/y.tab.c") + CopyFile(dsth, PREFIX+"/tmp/y.tab.h") updatefiledate(dstc) updatefiledate(dsth)