live-bootstrap/steps/coreutils-6.10/pass1.sh
fosslinux 9ef28c47a8 Move coreutils 6.10 to VCS + Gnulib
Some files were a bit suspicious throughout lib/; this is safer in terms
of pregenerated files.
2025-02-08 11:39:08 +11:00

21 lines
405 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
. ../../import-gnulib.sh
mv lib/fnmatch.in.h lib/fnmatch.h
# Rebuild bison pre-generated file
cd lib
bison --update getdate.y
bison getdate.y
mv getdate.tab.c getdate.c
cd ..
touch config.h
touch lib/configmake.h
}