2.1.1, and should do no harm to 2.1.2 (on the odd chance that will
happen).
import sys, os, re
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.
# This expression will leave lines using /usr/bin/env alone; presumably
self.mkpath(self.build_dir)
for script in self.scripts:
adjust = 0
+ script = convert_path(script)
outfile = os.path.join(self.build_dir, os.path.basename(script))
if not self.force and not newer(script, outfile):