Update of /cvsroot/mahogany/M/extra/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv27514/extra/scripts

Modified Files:
        m4.bat 
Log Message:
don't rely on M4 env var being set

Index: m4.bat
===================================================================
RCS file: /cvsroot/mahogany/M/extra/scripts/m4.bat,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- m4.bat      12 Jan 2002 22:30:24 -0000      1.1
+++ m4.bat      19 Sep 2003 19:26:38 -0000      1.2
@@ -7,6 +7,9 @@
 if not .%3==. goto :usage
 
-if .%M4%==. goto no_m4
+rem you may edit the line below if m4 is not in your PATH
+set M4=m4
+
 %M4% -DM4FILE=%1\mid2cpp.m4 %1\MInterface.mid > %2\MInterface.cpp
+if errorlevel 1 goto no_m4
 %M4% -DM4FILE=%1\mid2h.m4 %1\MInterface.mid > %2\MInterface.h
 goto end



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to