Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
92d76bd7
Commit
92d76bd7
authored
25 years ago
by
Gerald Pfeifer
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Further simplify the code and remove some redundant code.
Make the user interface more consistent and appealing.
parent
d28ded3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/bug_report.pl
+10
-16
10 additions, 16 deletions
tools/bug_report.pl
with
10 additions
and
16 deletions
tools/bug_report.pl
+
10
−
16
View file @
92d76bd7
...
...
@@ -51,7 +51,7 @@ $var0 = qq{
doing so it leaves out the long descriptions.
}
;
print
do_var
(
$var0
)
.
"
\n
";
until
(
$debuglevel
=
=
1
or
$debuglevel
==
2
or
$debuglevel
=
=
3
)
{
until
(
$debuglevel
>
=
1
and
$debuglevel
<
=
3
)
{
print
"
Enter your level of WINE expertise (1-3):
";
$debuglevel
=<
STDIN
>
;
chomp
$debuglevel
;
...
...
@@ -119,37 +119,31 @@ if ($outfile ne "no file" and $dbgoutfile eq "no file") {
}
}
print
"
Looking for wine...
\n
";
$whereis
=
`
whereis wine
`;
chomp
$whereis
;
print
"
Choose one of the following options:
\n
";
print
"
\n
Where is your copy of Wine located?
\n
\n
";
$whereis
=~
s/^wine\: //
;
@locations
=
split
(
/\s/
,
$whereis
);
print
"
1
.
Unlisted (I'll prompt you for a new location
\n
";
print
"
2
.
Unsure (I'll use #3, that's probably it)
\n
";
print
"
1
-
Unlisted (I'll prompt you for a new location
\n
";
print
"
2
-
Unsure (I'll use #3, that's probably it)
\n
";
$i
=
2
;
foreach
$location
(
@locations
)
{
$i
++
;
print
"
$i
.
$location
\n
";
print
"
$i
-
$location
\n
";
}
print
"
\n
";
sub
select_wineloc
{
print
"
Enter the number that corresponds to wine's location:
";
do
{
print
"
Enter the number the corresponds to Wine's location:
";
$wineloc
=<
STDIN
>
;
chomp
$wineloc
;
$yes
=
1
if
$wineloc
==
1
or
$wineloc
==
2
;
$i
=
3
;
foreach
$location
(
@locations
)
{
$yes
=
1
if
$wineloc
eq
$i
++
;
}
while
(
$yes
ne
"
1
")
{
print
"
Enter the number the corresponds to wine's location:
";
$wineloc
=<
STDIN
>
;
chomp
$wineloc
;
$i
=
1
;
foreach
$location
(
@locations
)
{
$yes
=
1
if
$wineloc
eq
$i
++
;
}
}
while
(
$yes
ne
"
1
");
if
(
$wineloc
==
1
)
{
$var25
=
qq{
Enter the full path to wine (Example: /usr/bin/wine):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment