Skip to content
Snippets Groups Projects
Commit 5741caeb authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot
Browse files

Only update config.sub when it already exists (#19574)

parent ef03fa6f
No related merge requests found
......@@ -138,7 +138,8 @@ def autoreconf():
for dir_ in ['.'] + glob.glob('libraries/*/'):
if os.path.isfile(os.path.join(dir_, 'configure.ac')):
print("Booting %s" % dir_)
if dir_ != '.':
# Update config.sub in submodules
if dir_ != '.' and os.path.isfile(os.path.join(dir_, 'config.sub')):
shutil.copyfile('config.sub', os.path.join(dir_, 'config.sub'))
processes[dir_] = subprocess.Popen(['sh', '-c', reconf_cmd], cwd=dir_)
......
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