summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-09-21 14:29:56 +0200
committerGitHub <noreply@github.com>2021-09-21 14:29:56 +0200
commit596493620f10646c8cc772b37c0f8e2f9d9ca0cc (patch)
tree80cc52c88176c74b1185028dc9f6fcdcfc1c0f31 /netdata-installer.sh
parentb86d6353f590a1ee8330fe569483774027108630 (diff)
fix installer flag --use-system-protobuf (#11539)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 3f8e84f659..3b934fbce3 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -286,7 +286,10 @@ while [ -n "${1}" ]; do
"--zlib-is-really-here") LIBS_ARE_HERE=1 ;;
"--libs-are-really-here") LIBS_ARE_HERE=1 ;;
"--use-system-lws") USE_SYSTEM_LWS=1 ;;
- "--use-system-protobuf") USE_SYSTEM_PROTOBUF=1 ;;
+ "--use-system-protobuf")
+ USE_SYSTEM_PROTOBUF=1
+ NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS//--without-bundled-protobuf/} --without-bundled-protobuf"
+ ;;
"--dont-scrub-cflags-even-though-it-may-break-things") DONT_SCRUB_CFLAGS_EVEN_THOUGH_IT_MAY_BREAK_THINGS=1 ;;
"--dont-start-it") DONOTSTART=1 ;;
"--dont-wait") DONOTWAIT=1 ;;