[Python-checkins] CVS: distutils/distutils/command build_scripts.py,1.2,1.3

Greg Ward python-dev@python.org
Thu, 25 May 2000 13:05:57 -0700


Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv29921/command

Modified Files:
	build_scripts.py 
Log Message:
Take the basename of the script before concatenating it with the build dir.

Index: build_scripts.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/build_scripts.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** build_scripts.py	2000/05/25 02:03:56	1.2
--- build_scripts.py	2000/05/25 20:05:52	1.3
***************
*** 5,9 ****
  # created 2000/05/23, Bastian Kleineidam
  
! __revision__ = "$Id: build_scripts.py,v 1.2 2000/05/25 02:03:56 gward Exp $"
  
  import sys, os, re
--- 5,9 ----
  # created 2000/05/23, Bastian Kleineidam
  
! __revision__ = "$Id: build_scripts.py,v 1.3 2000/05/25 20:05:52 gward Exp $"
  
  import sys, os, re
***************
*** 53,57 ****
          for script in self.scripts:
              adjust = 0
!             outfile = os.path.join(self.build_dir, script)
  
              if not self.force and not newer(script, outfile):
--- 53,57 ----
          for script in self.scripts:
              adjust = 0
!             outfile = os.path.join(self.build_dir, os.path.basename(script))
  
              if not self.force and not newer(script, outfile):