Bug 10859 - [Cygwin] prepare-ChangeLog cannot find a temporary directory when run outside of Tools/Scripts/
Summary: [Cygwin] prepare-ChangeLog cannot find a temporary directory when run outside...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: PC Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 07:27 PDT by Karthik Kumar
Modified: 2019-06-09 08:58 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karthik Kumar 2006-09-14 07:27:13 PDT
When this command is invoked on Windows:

perl WebKitTools/Scripts/prepare-Changelog

It throws an error on tempDir() about unable to write to directory /tmp

However, the script runs fine when called from WebKitTools/Scripts/,

as: perl prepare-Changelog
Comment 1 David Kilzer (:ddkilzer) 2006-09-14 08:23:48 PDT
The prepare-ChangeLog script uses the TMPDIR environment variable (or if that doesn't exist, "/tmp") for its temp directory.  Do you have any better suggestions?  I wonder if there is a Perl module that would give me a temp directory, or whether we should just take the default from File::Temp if neither $ENV{TEMPDIR} nor /tmp exit?
Comment 2 David Kilzer (:ddkilzer) 2006-09-14 10:26:19 PDT
Also, are you building under Cygwin per the instructions?

http://wiki.opendarwin.org/index.php/WebKit:Building_On_Windows
Comment 3 Karthik Kumar 2006-09-14 11:57:55 PDT
(In reply to comment #2)
> Also, are you building under Cygwin per the instructions?
> 
> http://wiki.opendarwin.org/index.php/WebKit:Building_On_Windows
> 

Yes