Commit 1bb7a9f7 authored by Alexandre Julliard's avatar Alexandre Julliard

Try to catch the case of a non-writable source directory before

running configure.
parent f3434c25
......@@ -183,6 +183,14 @@ then {
}
fi
if [ ! -w . ]
then {
echo "The source directory is not writable. You probably extracted the sources as root."
echo "You should remove the source tree and extract it again as a normal user."
exit 1
}
fi
# check whether RPM installed, and if it is, remove any old wine rpm.
hash rpm &>/dev/null
RET=$?
......
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