Allow wineinstall to be run from tools/ or from the main Wine
directory.
This commit is contained in:
parent
37d40786e7
commit
0e668bb9b3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue