Fix static analysis failures
This commit is contained in:
parent
ec6e2e5851
commit
44dd4e3ec6
|
@ -28,23 +28,23 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if [ ! $PROJECT_NAME ]; then
|
if [ ! "$PROJECT_NAME" ]; then
|
||||||
PROJECT_NAME='freedombone'
|
PROJECT_NAME='freedombone'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! $LOCAL_NAME ]; then
|
if [ ! "$LOCAL_NAME" ]; then
|
||||||
LOCAL_NAME=${PROJECT_NAME}
|
LOCAL_NAME=${PROJECT_NAME}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEFAULT_DOMAIN_NAME=
|
DEFAULT_DOMAIN_NAME=
|
||||||
DEFAULT_DOMAIN_CODE=
|
DEFAULT_DOMAIN_CODE=
|
||||||
MY_USERNAME=
|
MY_USERNAME=
|
||||||
if [ ! $SYSTEM_TYPE ]; then
|
if [ ! "$SYSTEM_TYPE" ]; then
|
||||||
SYSTEM_TYPE="full"
|
SYSTEM_TYPE="full"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# An optional configuration file which overrides some of these variables
|
# An optional configuration file which overrides some of these variables
|
||||||
if [ ! $CONFIGURATION_FILE ]; then
|
if [ ! "$CONFIGURATION_FILE" ]; then
|
||||||
CONFIGURATION_FILE="$HOME/${PROJECT_NAME}.cfg"
|
CONFIGURATION_FILE="$HOME/${PROJECT_NAME}.cfg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue