[Python-checkins] CVS: python/dist/src/Lib/distutils/command build_scripts.py,1.8,1.8.4.1

Jack Jansen jackjansen@users.sourceforge.net
Mon, 30 Jul 2001 02:56:33 -0700


Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv4160

Modified Files:
      Tag: release21-maint
	build_scripts.py 
Log Message:
Just's fix in 1.10: call convert_path for scripts too. Needed for mac
2.1.1, and should do no harm to 2.1.2 (on the odd chance that will
happen).


Index: build_scripts.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/build_scripts.py,v
retrieving revision 1.8
retrieving revision 1.8.4.1
diff -C2 -d -r1.8 -r1.8.4.1
*** build_scripts.py	2001/03/02 07:28:03	1.8
--- build_scripts.py	2001/07/30 09:56:31	1.8.4.1
***************
*** 10,13 ****
--- 10,14 ----
  from distutils.core import Command
  from distutils.dep_util import newer
+ from distutils.util import convert_path
  
  # check if Python is called on the first line with this expression.
***************
*** 57,60 ****
--- 58,62 ----
          for script in self.scripts:
              adjust = 0
+             script = convert_path(script)
              outfile = os.path.join(self.build_dir, os.path.basename(script))