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
d5416dad
Commit
d5416dad
authored
Apr 20, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly support out-of-tree builds (based on patch by Paul Millar).
parent
5a931244
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
wineprefixcreate.in
tools/wineprefixcreate.in
+17
-3
No files found.
tools/wineprefixcreate.in
View file @
d5416dad
...
...
@@ -29,7 +29,7 @@ usage()
echo
" -h, --help Display this message"
echo
" --prefix <dir> Directory to create (default:
\$
WINEPREFIX or ~/.wine)"
echo
" -q, --quiet Don't print status messages"
echo
" --use-wine-tree <dir> Run from the Wine
source
tree <dir>"
echo
" --use-wine-tree <dir> Run from the Wine
build
tree <dir>"
echo
" -w, --wait Wait for the wineserver to exit before returning"
echo
""
}
...
...
@@ -74,10 +74,24 @@ do
LD_LIBRARY_PATH
=
"
$topdir
/libs"
fi
export
LD_LIBRARY_PATH
# find the source directory
link
=
`
readlink
"
$WINELOADER
"
`
if
[
-z
"
$link
"
]
then
topsrcdir
=
"
$topdir
"
else
link
=
`
dirname
"
$link
"
`
case
"
$link
"
in
/
*
)
topsrcdir
=
`
cd
"
$link
/.."
&&
pwd
`
;;
*
)
topsrcdir
=
`
cd
"
$topdir
/
$link
/.."
&&
pwd
`
;;
esac
fi
dlldir
=
"
$topdir
/programs"
datadir
=
"
$topdir
/tools"
datadir
=
"
$top
src
dir
/tools"
else
echo
"
$2
is not a valid Wine
source
tree"
echo
"
$2
is not a valid Wine
build
tree"
exit
1
fi
shift
2
...
...
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