mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-14 07:38:11 +03:00
configure.sh: Don't allow people to build in the root of the source tree.
This commit is contained in:
parent
de63f8c5f9
commit
5018cb5ab7
@ -98,6 +98,11 @@ function configure() {
|
|||||||
local srcdir
|
local srcdir
|
||||||
srcdir="$(dirname "$0")"
|
srcdir="$(dirname "$0")"
|
||||||
|
|
||||||
|
if [[ "$srcdir" = "." ]]; then
|
||||||
|
err "Cannot do a top level in-tree build."
|
||||||
|
die "Create a subdirectory in build/ or outside of the tree and run configure.sh from there."
|
||||||
|
fi
|
||||||
|
|
||||||
# nothing specified, getting the default value from the Makefile to test the
|
# nothing specified, getting the default value from the Makefile to test the
|
||||||
# container engine
|
# container engine
|
||||||
if [[ -z $steamrt_image ]]; then
|
if [[ -z $steamrt_image ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user