mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-10 05:15: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
|
|
@ -12,14 +12,14 @@ src_prepare() {
|
|||
# is not dependent on perly.y any more.
|
||||
perl regen_perly.pl -b bison-2.3
|
||||
# Remove the source file so make works.
|
||||
rm perly.y
|
||||
rm -f perly.y
|
||||
|
||||
# Regenerate other prebuilt header files
|
||||
# Taken from headers of regen scripts
|
||||
rm lib/warnings.pm warnings.h regnodes.h reentr.h reentr.c overload.h \
|
||||
overload.c lib/overload/numbers.pm opcode.h opnames.h pp_proto.h \
|
||||
pp.sym keywords.h embed.h embedvar.h global.sym perlapi.c perlapi.h \
|
||||
proto.h
|
||||
rm -f lib/warnings.pm warnings.h regnodes.h reentr.h reentr.c overload.h \
|
||||
overload.c lib/overload/numbers.pm opcode.h opnames.h pp_proto.h \
|
||||
pp.sym keywords.h embed.h embedvar.h global.sym perlapi.c perlapi.h \
|
||||
proto.h
|
||||
perl regen.pl
|
||||
|
||||
mkdir -p ext/File ext/Digest ext/Data
|
||||
|
|
|
|||
|
|
@ -14,15 +14,15 @@ src_prepare() {
|
|||
|
||||
# Regenerate other prebuilt header files
|
||||
# Taken from headers of regen scripts
|
||||
rm embed.h embedvar.h perlapi.c perlapi.h proto.h mg_names.inc mg_raw.h \
|
||||
mg_vtable.h opcode.h opnames.h pp_proto.h \
|
||||
lib/B/Op_private.pm overload.h overload.inc lib/overload/numbers.pm \
|
||||
reentr.h reentr.c regnodes.h lib/warnings.pm \
|
||||
warnings.h lib/feature.pm feature.h
|
||||
rm -f embed.h embedvar.h perlapi.c perlapi.h proto.h mg_names.inc mg_raw.h \
|
||||
mg_vtable.h opcode.h opnames.h pp_proto.h \
|
||||
lib/B/Op_private.pm overload.h overload.inc lib/overload/numbers.pm \
|
||||
reentr.h reentr.c regnodes.h lib/warnings.pm \
|
||||
warnings.h lib/feature.pm feature.h
|
||||
perl regen.pl
|
||||
|
||||
# Regenerate configure + config_h.SH
|
||||
rm Configure config_h.SH
|
||||
rm -f Configure config_h.SH
|
||||
ln -s ../perl-5f2dc80/regen-configure/.package .
|
||||
ln -s ../perl-5f2dc80/regen-configure/U .
|
||||
metaconfig -m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue