mirror of https://github.com/python/cpython
The target directory is now called dos-8x3, not dos_8x3.
This commit is contained in:
parent
04d73c495e
commit
8731e5c35f
|
@ -1,13 +1,13 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
# This program reads all *.py and test/*.py in "libDir", and
|
||||
# copies those files with illegal DOS names to libDir/dos_8x3.
|
||||
# copies those files with illegal DOS names to libDir/dos-8x3.
|
||||
# Names are illegal if they are longer than 8x3 chars or if they
|
||||
# contain uppercase chars. It also tests for name collisions.
|
||||
# You must first create the directory libDir/dos_8x3 yourself.
|
||||
# You should remove all files in dos_8x3 if you run it again.
|
||||
# You must first create the directory libDir/dos-8x3 yourself.
|
||||
# You should remove all files in dos-8x3 if you run it again.
|
||||
|
||||
# CHANGE libDir TO THE CORRECT DIRECTORY. RM dos_8x3/* FIRST.
|
||||
# CHANGE libDir TO THE CORRECT DIRECTORY. RM dos-8x3/* FIRST.
|
||||
|
||||
import sys, os, regex, string
|
||||
|
||||
|
@ -16,7 +16,7 @@ libDir = "./Lib" # Location of Python Lib
|
|||
def make8x3():
|
||||
reg_uppercase = regex.compile("[A-Z]")
|
||||
collisions = {} # See if all names are unique in first 8 chars.
|
||||
destDir = os.path.join(libDir, "dos_8x3")
|
||||
destDir = os.path.join(libDir, "dos-8x3")
|
||||
if not os.path.isdir(destDir):
|
||||
print "Please create the directory", destDir, "first."
|
||||
err()
|
||||
|
|
Loading…
Reference in New Issue