intracom-telecom-sdn/nstat

View on GitHub
emulators/nbemu/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/nstat-nb-emulator
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

mv $SCRIPT_DIR/nstat-nb-emulator/* $SCRIPT_DIR
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

echo $SCRIPT_DIR
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

if [ ! -d $SCRIPT_DIR"/nstat-nb-emulator" ]; then
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

git clone -b v.1.0 $NSTAT_NB_EMULATOR_LOCATION $SCRIPT_DIR"/nstat-nb-emulator"
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

mv $SCRIPT_DIR/nstat-nb-emulator/* $SCRIPT_DIR
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

rm -rf $SCRIPT_DIR"/nstat-nb-emulator/.git"
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

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

if [ $? -ne 0 ]; then
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

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

if [ $? -ne 0 ]; then
Severity: Minor
Found in emulators/nbemu/build.sh by shellcheck

There are no issues that match your filters.

Category
Status