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 ]
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue