mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 16:55:25 +01:00
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:
parent
c3843e1960
commit
b03f3e11c0
7 changed files with 28 additions and 28 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue