WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
121150
autogen.sh: fix removal of autom4te.cache
https://bugs.webkit.org/show_bug.cgi?id=121150
Summary
autogen.sh: fix removal of autom4te.cache
Alberto Garcia
Reported
2013-09-11 03:20:55 PDT
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.
Attachments
Patch
(1.04 KB, patch)
2013-09-11 03:24 PDT
,
Alberto Garcia
cgarcia
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alberto Garcia
Comment 1
2013-09-11 03:24:20 PDT
Created
attachment 211293
[details]
Patch
Carlos Garcia Campos
Comment 2
2013-09-11 03:28:49 PDT
Comment on
attachment 211293
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211293&action=review
Thanks!
> ChangeLog:9 > + Fix incorrect removal of autom4te.cache and put it after the > + autoreconf call.
Could you briefly explain here why it was wrong, the explanation in the bug summary is great.
Alberto Garcia
Comment 3
2013-09-11 04:15:01 PDT
Committed
r155517
: <
http://trac.webkit.org/changeset/155517
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug