Fix Solaris builds
authorPavel Rochnyack <pavel2000@ngs.ru>
Wed, 29 Aug 2018 14:23:28 +0000 (21:23 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Wed, 29 Aug 2018 14:23:33 +0000 (21:23 +0700)
Trying to fix error:

./build.sh: syntax error at line 78: `TOP_SRCDIR=$' unexpected

build.sh

index a1a6769..c0ccce3 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -75,7 +75,7 @@ build_cygwin()
     : ${DATADIR:="${INSTALL_DIR}"}
 
     echo "Installing collectd to ${INSTALL_DIR}."
-    TOP_SRCDIR=$(pwd)
+    TOP_SRCDIR="$(pwd)"
     MINGW_ROOT="$(x86_64-w64-mingw32-gcc -print-sysroot)/mingw"
     export GNULIB_DIR="${TOP_SRCDIR}/gnulib/build/gllib"