[Moin-devel] CVS: dist setup.py,1.17,1.18

J?rgen Hermann jhermann at users.sourceforge.net
Wed Mar 27 15:48:02 EST 2002


Update of /cvsroot/moin/dist
In directory usw-pr-cvs1:/tmp/cvs-serv20510

Modified Files:
	setup.py 
Log Message:
Fix for scripts running under CMD.EXE


Index: setup.py
===================================================================
RCS file: /cvsroot/moin/dist/setup.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** setup.py	19 Mar 2002 23:06:54 -0000	1.17
--- setup.py	27 Mar 2002 23:47:21 -0000	1.18
***************
*** 85,89 ****
                  if sys.platform == "win32":
                      file.write('@echo off\n'
!                         '%(python)s -c "from %(package)s.scripts.%(module)s import run; run()" %%$\n'
                          % script_vars)
                  else:
--- 85,90 ----
                  if sys.platform == "win32":
                      file.write('@echo off\n'
!                         'if NOT "%%_4ver%%" == "" %(python)s -c "from %(package)s.scripts.%(module)s import run; run()" %%$\n'
!                         'if     "%%_4ver%%" == "" %(python)s -c "from %(package)s.scripts.%(module)s import run; run()" %%*\n'
                          % script_vars)
                  else:





More information about the Moin-devel mailing list