Closed
Bug 156568
Opened 21 years ago
Closed 21 years ago
data dir is not correctly created
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: bbaetz, Assigned: bbaetz)
Details
(Keywords: regression)
Attachments
(1 file)
923 bytes,
patch
|
myk
:
review+
myk
:
review+
|
Details | Diff | Splinter Review |
checksetup.pl has an |unless (-d 'data')| block. However, this comes after the include of globals.pl, and globals.pl creates a new template object, which creates 'data' and 'data/template' for us, becuase of the COMPILE_DIR. We need to move just that block to above the |require|, to ensure that the other files are created. To be honest, I don't know if thats needed - I suspect the code deals with those files not existing w/o problems.
Assignee | ||
Comment 1•21 years ago
|
||
-> 2.16
Assignee | ||
Comment 2•21 years ago
|
||
This is actually simpler - just change the initial check to see if data/nomail exists, also.
Comment 3•21 years ago
|
||
Comment on attachment 90705 [details] [diff] [review] v1 >Index: checksetup.pl >=================================================================== >RCS file: /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v >retrieving revision 1.160 >diff -u -r1.160 checksetup.pl >--- checksetup.pl 9 Jul 2002 23:40:31 -0000 1.160 >+++ checksetup.pl 10 Jul 2002 00:16:02 -0000 >@@ -637,7 +637,12 @@ > # Create initial --DATA-- directory and make the initial empty files there: > # > >-unless (-d 'data') { >+# The |require "globals.pl"| above ends up creating a template object.with Nit: object.with -> object with 2xr=myk
Attachment #90705 -
Flags: review+
Assignee | ||
Comment 4•21 years ago
|
||
Checked in, trunk + branch
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•