[Webkit-unassigned] [Bug 121150] New: autogen.sh: fix removal of autom4te.cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 03:21:42 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121150

           Summary: autogen.sh: fix removal of autom4te.cache
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: berto at igalia.com
                CC: cgarcia at igalia.com


autom4te.cache doesn't harm other than taking a bit of space in the
hard drive. It can be safely removed anyway.

However at the moment we have

   rm -f $top_srcdir/autom4te.cache

which doesn't work since

  1) autom4te.cache is a directory
  2) $top_srcdir is not defined in autogen.sh

Best case, that's equivalent to rm -f /autom4te.cache, which does
nothing since that file doesn't exist.

Worst case, the user has $top_srcdir set to some value and funny
surprises happen.

Since we can guarantee that we're in the root directory of the WebKit
tree we can just run

  rm -rf autom4te.cache

And this should be run _after_ autoreconf since it's not needed by
anyone else.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list