WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
49189
We should add a build step to comment out or remove the lines unsetting TEMP and TMP in the .bashrc file
https://bugs.webkit.org/show_bug.cgi?id=49189
Summary
We should add a build step to comment out or remove the lines unsetting TEMP ...
Jessie Berlin
Reported
2010-11-08 10:45:31 PST
The default .bashrc file (found at /etc/skel/.bashrc) has the following lines: # TMP and TEMP are defined in the Windows environment. Leaving # them set to the default Windows temporary directory can have # unexpected consequences. unset TMP unset TEMP This is causing Windows builds to fail due to the changes made in
http://trac.webkit.org/changeset/71532
, which used %TEMP% and did not expect it to be the empty string. Even if we roll out that patch, we actually want to pick up the TMP and TEMP paths from Windows (there is no good reason not to and those are the paths that will be used in released builds), so we should add a build step to comment out or remove those lines in the user's .bashrc file in tools.html.
Attachments
Patch
(1.77 KB, patch)
2010-11-08 10:55 PST
,
Jessie Berlin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jessie Berlin
Comment 1
2010-11-08 10:55:54 PST
Created
attachment 73252
[details]
Patch
Adam Roben (:aroben)
Comment 2
2010-11-08 11:09:27 PST
Comment on
attachment 73252
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=73252&action=review
> WebKitSite/building/tools.html:59 > +<p>If you are using a bash shell, comment out or remove the lines from your .bashrc file (found at /home/[username]/.bashrc) that unset TMP and unset TEMP. Those lines would prevent picking up the Windows TMP and TEMP environment variables.</p>
I think it would be better to be more explicit. Something like: Remove the following lines from <code>/home/[username]/.bashrc</code>: <p class=code>unset TMP unset TEMP</p>
Jessie Berlin
Comment 3
2010-11-08 11:57:19 PST
(In reply to
comment #2
)
> (From update of
attachment 73252
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=73252&action=review
> > > WebKitSite/building/tools.html:59 > > +<p>If you are using a bash shell, comment out or remove the lines from your .bashrc file (found at /home/[username]/.bashrc) that unset TMP and unset TEMP. Those lines would prevent picking up the Windows TMP and TEMP environment variables.</p> > > I think it would be better to be more explicit. Something like: > > Remove the following lines from <code>/home/[username]/.bashrc</code>: > <p class=code>unset TMP > unset TEMP</p>
Changed to: <p>Remove the following lines from <code>/home/[username]/.bashrc</code>: <p class=code> <div>unset TMP</div> <div>unset TEMP</div> </p> Those lines would prevent picking up the Windows TMP and TEMP environment variables.</p> Thanks for the review!
Jessie Berlin
Comment 4
2010-11-08 12:29:49 PST
Comment on
attachment 73252
[details]
Patch Commited in
r71557
http://trac.webkit.org/changeset/71557
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