Use rm -f to avoid interactive prompts

This is required when not running as root to avoid prompts when
removing read-only files.
This commit is contained in:
Dor Askayo 2022-01-05 00:16:58 +02:00
parent c3843e1960
commit b03f3e11c0
7 changed files with 28 additions and 28 deletions

View file

@ -6,19 +6,19 @@ src_prepare() {
default
# Regenerate bison files
rm perly.c perly.h
rm -f perly.c perly.h
bison -d perly.y
mv perly.tab.c perly.c
mv perly.tab.h perly.h
# Regenerate other prebuilt header files
for file in embed keywords opcode; do
rm ${file}.h
rm -f ${file}.h
perl ${file}.pl
done
rm regnodes.h
rm -f regnodes.h
perl regcomp.pl
rm byterun.h byterun.c
rm -f fbyterun.h byterun.c
perl bytecode.pl
}