Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bc4f8f98
Commit
bc4f8f98
authored
Sep 30, 2003
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return 2 in case of a usage error.
Use -z instead of comparing to an empty string.
parent
498e1ce0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
wineshelllink
tools/wineshelllink
+5
-5
No files found.
tools/wineshelllink
View file @
bc4f8f98
...
...
@@ -45,7 +45,7 @@ options:
--descr xx application description
EOF
exit
1
exit
2
}
if
[
$#
-eq
0
]
;
then
...
...
@@ -67,13 +67,13 @@ do
esac
done
if
[
"
$mode
"
=
""
]
;
then
echo
Either
--desktop
or
--menu
required
if
[
-z
"
$mode
"
]
;
then
echo
"Either --desktop or --menu required"
usage
fi
if
[
"
$link
"
=
""
]
;
then
echo
You must specify a
link
name with
--link
if
[
-z
"
$link
"
]
;
then
echo
"You must specify a link name with --link"
usage
fi
...
...
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