Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.

Commit d3523b3

Browse files
author
Jonathan Chauncey
committed
fix(boot/deis): Fix conditional for disabling deis output
Also make some conditionals consistent with other checks
1 parent 9d2ed39 commit d3523b3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rootfs/opt/fluentd/sbin/boot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FLUENTD_CONF=${FLUENTD_CONF:-"/opt/fluentd/conf/fluentd.conf"}
33
INSTALL_BUILD_TOOLS=${INSTALL_BUILD_TOOLS:-"false"}
44
BUILD_TOOLS='g++ gcc make ruby-dev'
55

6-
if [ $INSTALL_BUILD_TOOLS == "true" ]
6+
if [ "$INSTALL_BUILD_TOOLS" == "true" ]
77
then
88
echo "Installing Build tools!"
99
apt-get update
@@ -48,7 +48,7 @@ cat << EOF >> $FLUENTD_CONF
4848
</match>
4949
EOF
5050

51-
if [ $INSTALL_BUILD_TOOLS == "true" ]
51+
if [ "$INSTALL_BUILD_TOOLS" == "true" ]
5252
then
5353
echo "Removing Build tools!"
5454
apt-get remove -y --auto-remove --purge $BUILD_TOOLS

rootfs/opt/fluentd/sbin/stores/deis

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
if [ -n "DISABLE_DEIS_OUTPUT" ]
2+
if [ -z "${DISABLE_DEIS_OUTPUT}" ]
33
then
44
cat << EOF >> $FLUENTD_CONF
55
<store>

0 commit comments

Comments
 (0)