summaryrefslogtreecommitdiff
path: root/scripts/packages-formatter.py
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2014-12-22 15:27:28 -0500
committerNat Goodspeed <nat@lindenlab.com>2014-12-22 15:27:28 -0500
commit9635923d5587588e9db71685234265e1f78856cf (patch)
treec01b135c8d1fc9c95b71d693093db7aaf1e6fc42 /scripts/packages-formatter.py
parentf6abe4a2283e8c6b37ade3a9621d210a298f8d66 (diff)
Temporarily work around cygwin /cygdrive/c pathname in AUTOBUILD.
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+(.*)$')