summaryrefslogtreecommitdiff
path: root/scripts/packages-formatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/packages-formatter.py')
-rwxr-xr-xscripts/packages-formatter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/packages-formatter.py b/scripts/packages-formatter.py
index 34fc92e44c..7e5e690e49 100755
--- a/scripts/packages-formatter.py
+++ b/scripts/packages-formatter.py
@@ -33,6 +33,8 @@ import subprocess
_autobuild=os.getenv('AUTOBUILD',
'autobuild' if not ( sys.platform == 'win32' or sys.platform == 'cygwin')
else 'autobuild.cmd')
+# HACK: temporarily work around cygwin /cygdrive/c madness
+_autobuild = re.sub(r"^/cygdrive/(.)/", r"\1:/", _autobuild)
pkg_line=re.compile('^([\w-]+):\s+(.*)$')