Skip to content

Commit 0842e61

Browse files
committed
Add -f flag to some calls to rm to avoid stalling in interactive mode.
1 parent 3727953 commit 0842e61

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

steps/autoconf-2.59/pass1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ src_prepare() {
66
rm bin/autoconf.in
77
rm doc/*.info
88
rm man/*.1
9-
rm tests/*.at
9+
rm -f tests/*.at
1010

1111
# Do not use pregenerated manpages
1212
sed -i '/SUBDIRS/s/ man//' Makefile.am

steps/autoconf-2.61/pass1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
src_prepare() {
66
rm doc/*.info
77
rm man/*.1
8-
rm tests/*.at
8+
rm -f tests/*.at
99
sed -i -e '/AC_PROG_GREP/d' -e '/AC_PROG_SED/d' configure.ac
1010

1111
AUTOMAKE=automake-1.8 ACLOCAL=aclocal-1.8 AUTOM4TE=autom4te-2.59 AUTOCONF=autoconf-2.59 autoreconf-2.59 -f

steps/autoconf-2.64/pass1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
src_prepare() {
66
rm doc/*.info
77
rm man/*.1
8-
rm tests/*.at
8+
rm -f tests/*.at
99

1010
AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 autoreconf-2.61 -f
1111

steps/autoconf-2.69/pass1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
src_prepare() {
77
rm doc/*.info
88
rm man/*.1
9-
rm tests/*.at
9+
rm -f tests/*.at
1010
AUTOMAKE=automake-1.11 ACLOCAL=aclocal-1.11 autoreconf-2.64 -f
1111

1212
# Install autoconf data files into versioned directory

steps/coreutils-5.0/pass2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ src_prepare() {
1313
touch config.h
1414

1515
# Rebuild pregenerated file
16-
rm src/false.c
16+
rm -f src/false.c
1717
rm src/dircolors.h
1818
rm src/wheel.h
1919

steps/perl-5.6.2/pass1.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ src_prepare() {
2828
perl warnings.pl
2929

3030
# Regenerate prebuilt perl files
31-
rm -r lib/unicode/Is lib/unicode/In lib/unicode/To lib/unicode/*.pl
31+
rm -rf lib/unicode/Is lib/unicode/In lib/unicode/To lib/unicode/*.pl
3232

3333
# Manpages
34-
rm lib/Pod/Man.pm
34+
rm -f lib/Pod/Man.pm
3535

3636
# Workaround for some linking problems, remove if possible
3737
sed -i 's/perl_call_method/Perl_call_method/' ext/Data/Dumper/Dumper.xs

0 commit comments

Comments
 (0)