]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
configure: early error when a space is in the source path, fixes #2988
authorJaroslav Kysela <perex@perex.cz>
Fri, 3 Jul 2015 09:59:35 +0000 (11:59 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 3 Jul 2015 10:02:57 +0000 (12:02 +0200)
configure

index b841faf41292d370671a98b1e61abf73b74a98d1..487456be8b0a659f8fe655c149f81fbbd52517aa 100755 (executable)
--- a/configure
+++ b/configure
@@ -57,6 +57,10 @@ OPTIONS=(
 
 . "$ROOTDIR/support/configure.inc"
 
+case "$ROOTDIR" in
+  *\ * ) die "The source directory contains a space. It is not supported."
+esac
+
 # ###########################################################################
 # Parse arguments
 # ###########################################################################