diff options
author | Neil Mitchell <ndmitchell@gmail.com> | 2018-07-09 16:17:57 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-07-12 11:25:47 -0400 |
commit | 101e90472b5536fffce1c19324db45451faf5246 (patch) | |
tree | b2ad3fa8100e103c53d0fee482e52baa2a22b6fc | |
parent | 7c207c86ab0de955ebec70eeeb366ba0d94acc4a (diff) | |
download | haskell-101e90472b5536fffce1c19324db45451faf5246.tar.gz |
Make boot work if ACLOCAL_PATH is not set
-rwxr-xr-x | boot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -151,7 +151,7 @@ def autoreconf(): # Get the normalized ACLOCAL_PATH for Windows # This is necessary since on Windows this will be a Windows # path, which autoreconf doesn't know doesn't know how to handle. - ac_local = os.environ['ACLOCAL_PATH'] + ac_local = os.getenv('ACLOCAL_PATH', '') ac_local_arg = re.sub(r';', r':', ac_local) ac_local_arg = re.sub(r'\\', r'/', ac_local_arg) ac_local_arg = re.sub(r'(\w):/', r'/\1/', ac_local_arg) |