From 44dd4e3ec69e82fa6725657820e55eb8136c2762 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Mar 2018 22:22:34 +0000 Subject: [PATCH] Fix static analysis failures --- src/freedombone-utils-setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index 2c45362e..66148ebf 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -28,23 +28,23 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -if [ ! $PROJECT_NAME ]; then +if [ ! "$PROJECT_NAME" ]; then PROJECT_NAME='freedombone' fi -if [ ! $LOCAL_NAME ]; then +if [ ! "$LOCAL_NAME" ]; then LOCAL_NAME=${PROJECT_NAME} fi DEFAULT_DOMAIN_NAME= DEFAULT_DOMAIN_CODE= MY_USERNAME= -if [ ! $SYSTEM_TYPE ]; then +if [ ! "$SYSTEM_TYPE" ]; then SYSTEM_TYPE="full" fi # An optional configuration file which overrides some of these variables -if [ ! $CONFIGURATION_FILE ]; then +if [ ! "$CONFIGURATION_FILE" ]; then CONFIGURATION_FILE="$HOME/${PROJECT_NAME}.cfg" fi