summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-12-22 15:31:29 -0500
committerOz Linden <oz@lindenlab.com>2014-12-22 15:31:29 -0500
commita261776a4753985df86454ee3c27e8d830e6c3c1 (patch)
tree24e8dfc390800bf6e0749f3cef3e58b06a6e8100
parent4be01b73901256f669d5fb8ae3061ed10a5c2290 (diff)
parent9635923d5587588e9db71685234265e1f78856cf (diff)
merge cygwin fix
-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+(.*)$')