Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
7bda1fe6
Commit
7bda1fe6
authored
Feb 14, 2002
by
zach%zachlipton.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 97290: checksetup.pl should report about errors in localconfig
r=kiko x2
parent
2e428770
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
checksetup.pl
checksetup.pl
+19
-0
No files found.
checksetup.pl
View file @
7bda1fe6
...
...
@@ -22,6 +22,7 @@
# Terry Weissman <terry@mozilla.org>
# Dan Mosedale <dmose@mozilla.org>
# Dave Miller <justdave@syndicomm.com>
# Zach Lipton <zach@zachlipton.com>
#
#
# Direct any questions on this source code to
...
...
@@ -265,6 +266,24 @@ if (@missing > 0) {
print
"Checking user setup ...\n"
;
do
'localconfig'
;
if
(
$@
ne
""
)
{
# capture errors in localconfig, bug 97290
print
STDERR
<<EOT;
An error has occurred while reading your
'localconfig' file. The text of the error message is:
$@
Please fix the error in your 'localconfig' file.
Alternately rename your 'localconfig' file, rerun
checksetup.pl, and re-enter your answers.
$ mv -f localconfig localconfig.old
$ ./checksetup.pl
EOT
die
"Syntax error in localconfig"
;
}
my
$newstuff
=
""
;
sub
LocalVar
($$)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment