mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01: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
1 changed files with 5 additions and 0 deletions
|
|
@ -98,6 +98,11 @@ function configure() {
|
|||
local srcdir
|
||||
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
|
||||
# container engine
|
||||
if [[ -z $steamrt_image ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue