m4: set times of m4.texi to fix build on Summit GPFS (#26994)
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
This commit is contained in:
parent
fd10e54409
commit
962d06441e
@ -3,6 +3,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import os
|
||||
import re
|
||||
|
||||
|
||||
@ -54,8 +55,8 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
|
||||
@when('@1.4.19')
|
||||
def patch(self):
|
||||
""" skip texinfo of m4.info for patched m4.texi (patched only a test in it) """
|
||||
touch('doc/m4.info')
|
||||
touch('doc/stamp-vti')
|
||||
timestamp = os.path.getmtime('doc/m4.info')
|
||||
os.utime('doc/m4.texi', (timestamp, timestamp))
|
||||
|
||||
@classmethod
|
||||
def determine_version(cls, exe):
|
||||
|
Loading…
Reference in New Issue
Block a user