Skip to content
Snippets Groups Projects
Commit 7a0dfc79 authored by Markus Blatt's avatar Markus Blatt
Browse files

[dunecontrol] Now fails when build with spaces in prefix directory.

Treating directories with spaces in autotools is a can of worms.
We now check whether this situation is given and issue an error when
building with autotools.
parent 7d3a491d
Branches
Tags
No related merge requests found
......@@ -1128,6 +1128,17 @@ EOF
usage
;;
*)
set +e
if test "x$USE_CMAKE" = "xno"; then
echo "$PREFIX_DIR" |grep "[ ]" >/dev/null
if test "$?" -eq "0"; then
echo "ERROR: The prefix directory path ($PREFIX_DIR) contains spaces. This is not"
echo " supported when using autotools."
echo " Either rename the path or activate CMake with --use-cmake switch."
exit 1
fi
fi
set -e
if test "$1" = "update"; then export SKIPVERSIONCHECK=yes; fi
check_commands "$@"
create_module_list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment