Commit 0e668bb9 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Allow wineinstall to be run from tools/ or from the main Wine

directory.
parent 37d40786
...@@ -222,9 +222,16 @@ then { ...@@ -222,9 +222,16 @@ then {
if ! [ -f configure ] if ! [ -f configure ]
then { then {
echo "You're running this from the wrong directory." if [ -f ../configure ]
echo "Change to the Wine source's main directory and try again." then {
exit 1 pushd ..
}
else {
echo "You're running this from the wrong directory."
echo "Change to the Wine source's main directory and try again."
exit 1
}
fi
} }
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment