Title: [155517] trunk
Revision
155517
Author
be...@igalia.com
Date
2013-09-11 04:15:54 -0700 (Wed, 11 Sep 2013)

Log Message

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:

Modified Paths

Diff

Modified: trunk/ChangeLog (155516 => 155517)


--- trunk/ChangeLog	2013-09-11 10:32:00 UTC (rev 155516)
+++ trunk/ChangeLog	2013-09-11 11:15:54 UTC (rev 155517)
@@ -1,5 +1,20 @@
 2013-09-11  Alberto Garcia  <be...@igalia.com>
 
+        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:
+
+2013-09-11  Alberto Garcia  <be...@igalia.com>
+
         Unquoted $ORIGDIR in autogen.sh
         https://bugs.webkit.org/show_bug.cgi?id=19512
 

Modified: trunk/autogen.sh (155516 => 155517)


--- trunk/autogen.sh	2013-09-11 10:32:00 UTC (rev 155516)
+++ trunk/autogen.sh	2013-09-11 11:15:54 UTC (rev 155517)
@@ -8,8 +8,6 @@
 ORIGDIR=`pwd`
 cd "$srcdir" || exit 1
 
-rm -f $top_srcdir/autom4te.cache
-
 touch README INSTALL
 
 if test -z `which autoreconf`; then
@@ -17,6 +15,7 @@
     exit 1
 fi
 autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $?
+rm -rf autom4te.cache
 
 cd "$ORIGDIR" || exit 1
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to