intracom-telecom-sdn/nstat

View on GitHub
emulators/sbemu/multinet/build.sh

Summary

Maintainability
Test Coverage

Showing 9 of 9 total issues

Double quote to prevent globbing and word splitting.
Open

rm -rf $SCRIPT_DIR"/multinet/.git"

Double quote to prevent globbing and word splitting.
Open

mv $SCRIPT_DIR/multinet/* $SCRIPT_DIR

Double quote to prevent globbing and word splitting.
Open

git clone -b v.1.0 $MULTINET_LOCATION $SCRIPT_DIR"/multinet"

Double quote to prevent globbing and word splitting.
Open

if [ ! -d $SCRIPT_DIR"/multinet" ]; then

Double quote to prevent globbing and word splitting.
Open

mv $SCRIPT_DIR/multinet/* $SCRIPT_DIR

Double quote to prevent globbing and word splitting.
Open

echo $SCRIPT_DIR

Double quote to prevent globbing and word splitting.
Open

rm -rf $SCRIPT_DIR/multinet

Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
Open

if [ $? -ne 0 ]; then

Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
Open

if [ $? -ne 0 ]; then

There are no issues that match your filters.

Category
Status