configure
authorAlan Knowles <alan@roojs.com>
Fri, 15 Feb 2019 07:14:14 +0000 (15:14 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Feb 2019 07:14:14 +0000 (15:14 +0800)
configure

index 1118a68..d6bb0ac 100755 (executable)
--- a/configure
+++ b/configure
@@ -220,9 +220,9 @@ while [ $# != 0 ]; do
         "--datarootdir")
             CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_INSTALL_DATAROOTDIR=$(quote "$2")"; shift;;
         "--datadir="*)
-            DATA_DIR=$(quote "${1#*=}"); shift;;
+            DATA_DIR="$(quote "${1#*=}")"; shift;;
         "--datadir")
-            DATA_DIR=$(quote "$2"); shift;;
+            DATA_DIR="$(quote "$2")"; shift;;
             shift;;
             CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_INSTALL_DATADIR=$(quote "$2")"; shift;;
         "--infodir="*)