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
b39381f4
Commit
b39381f4
authored
May 01, 2007
by
Ben Taylor
Committed by
Alexandre Julliard
May 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineshelllink: Improve /bin/sh and awk compatibility.
parent
b63e9a78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
wineshelllink
tools/wineshelllink
+4
-2
No files found.
tools/wineshelllink
View file @
b39381f4
...
...
@@ -141,7 +141,8 @@ get_menu_entries()
awk
'
BEGIN { RS="<" }
/^Filename/ {
if (match($0,/>/)) {
RSTART=index($0,">")
if (RSTART>0) {
print substr($0,RSTART+1)
}
}'
$tmp
...
...
@@ -182,7 +183,8 @@ write_menu_file()
IFS
=
"
"
for
i
in
$(
get_menu_entries
"
$menu
"
)
;
do
for
i
in
`
get_menu_entries
"
$menu
"
`
do
test
"
$i
"
=
"
$filename
"
&&
continue
echo
" <Filename>
$i
</Filename>"
done
...
...
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