Merge pull request #179 from stikonas/mes_ppsyntax

Remove pregenerated files (ppsyntax) in mes.
This commit is contained in:
fosslinux 2022-06-04 08:25:38 +10:00 committed by GitHub
commit 0b645dfc7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -131,9 +131,9 @@ this script the next time")
else:
raise TypeError("url must be either a string or a list of strings")
# Install base files
for i, _ in enumerate(urls):
for i, uri in enumerate(urls):
# Download files into cache directory
self.download_file(urls[i], outputs[i])
self.download_file(uri, outputs[i])
def make_initramfs(self):
"""Package binary bootstrap seeds and sources into initramfs."""

View File

@ -34,6 +34,9 @@ cp ../files/config.h ${MES_PREFIX}/include/mes
cd ${MES_PREFIX}
# Remove pregenerated files
rm mes/module/mes/psyntax.pp mes/module/mes/psyntax.pp.header
# These files are symlinked in the repo
cp mes/module/srfi/srfi-9-struct.mes mes/module/srfi/srfi-9.mes
cp mes/module/srfi/srfi-9/gnu-struct.mes mes/module/srfi/srfi-9/gnu.mes