Skip to content
Snippets Groups Projects
Commit 101e9047 authored by Neil Mitchell's avatar Neil Mitchell Committed by Ben Gamari
Browse files

Make boot work if ACLOCAL_PATH is not set

parent 7c207c86
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment