Skip to content

Commit 8be54f7

Browse files
author
berto@igalia.com
committed
autogen.sh: fix removal of autom4te.cache
https://bugs.webkit.org/show_bug.cgi?id=121150 Reviewed by Carlos Garcia Campos. The removal of autom4te.cache is wrong, it uses 'rm -f' instead of 'rm -rf' and it relies on an undefined variable. In addition to that, it should be done after running autoreconf, which is when it's no longer needed. * autogen.sh: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent dc76999 commit 8be54f7

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
2013-09-11 Alberto Garcia <berto@igalia.com>
2+
3+
autogen.sh: fix removal of autom4te.cache
4+
https://bugs.webkit.org/show_bug.cgi?id=121150
5+
6+
Reviewed by Carlos Garcia Campos.
7+
8+
The removal of autom4te.cache is wrong, it uses 'rm -f' instead of
9+
'rm -rf' and it relies on an undefined variable.
10+
11+
In addition to that, it should be done after running autoreconf,
12+
which is when it's no longer needed.
13+
14+
* autogen.sh:
15+
116
2013-09-11 Alberto Garcia <berto@igalia.com>
217

318
Unquoted $ORIGDIR in autogen.sh

autogen.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ test -z "$srcdir" && srcdir=.
88
ORIGDIR=`pwd`
99
cd "$srcdir" || exit 1
1010

11-
rm -f $top_srcdir/autom4te.cache
12-
1311
touch README INSTALL
1412

1513
if test -z `which autoreconf`; then
1614
echo "Error: autoreconf not found, please install it."
1715
exit 1
1816
fi
1917
autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $?
18+
rm -rf autom4te.cache
2019

2120
cd "$ORIGDIR" || exit 1
2221

0 commit comments

Comments
 (0)