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

@ -12,22 +12,22 @@ src_prepare() {
default
# Remove and 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 embed.h
rm embed.h
rm -f embed.h
./embed_h.SH
# Regenerate keywords.h
rm keywords.h
rm -f keywords.h
chmod +x keywords.sh
./keywords.sh
# Regenerate opcode.h
rm opcode.h
rm -f opcode.h
chmod +x opcode.sh
./opcode.sh
}