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 {
if ! [ -f configure ]
then {
echo "You're running this from the wrong directory."
echo "Change to the Wine source's main directory and try again."
exit 1
if [ -f ../configure ]
then {
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
......
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