Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2d3bd3e4
Commit
2d3bd3e4
authored
Jan 24, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineprefixcreate: Only create links for files that don't exist.
Make a copy instead of a link if the original file is writable.
parent
ab5ca5c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
wineprefixcreate.in
tools/wineprefixcreate.in
+10
-1
No files found.
tools/wineprefixcreate.in
View file @
2d3bd3e4
...
...
@@ -145,7 +145,16 @@ done
link_app
()
{
rm
-f
"
$2
"
&&
ln
-s
"
$dlldir
/
$1
.exe.so"
"
$2
"
||
echo
"Warning: failed to create
$2
"
if
[
!
-f
"
$2
"
]
then
# make a copy if the original is writable
if
[
-w
"
$dlldir
/
$1
.exe.so"
]
then
cp
"
$dlldir
/
$1
.exe.so"
"
$2
"
||
echo
"Warning: failed to create
$2
"
else
ln
-s
"
$dlldir
/
$1
.exe.so"
"
$2
"
||
echo
"Warning: failed to create
$2
"
fi
fi
}
link_app start
"
$CROOT
/windows/command/start.exe"
...
...
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