mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 01:05:24 +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
|
|
@ -7,21 +7,21 @@ src_prepare() {
|
|||
|
||||
# Regenerate bison files
|
||||
sed -i '/yydestruct/d' perly.y
|
||||
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 ext/ByteLoader/byterun.h ext/ByteLoader/byterun.c
|
||||
rm -f ext/ByteLoader/byterun.h ext/ByteLoader/byterun.c
|
||||
perl bytecode.pl
|
||||
rm warnings.h lib/warnings.pm
|
||||
rm -f warnings.h lib/warnings.pm
|
||||
perl warnings.pl
|
||||
|
||||
# Workaround for some linking problems, remove if possible
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue