X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=karaf-scripts%2Fsrc%2Fmain%2Fassembly%2Fbin%2Fcheck_modules.sh;h=8740bc9760a634f1e2e085f40f72c29cdad034e4;hb=9613c0a9139cf84ac0afd59d6f2f8426baa0a2ab;hp=56b96e26eaeb25a087f867406246c97544a94214;hpb=1bb77a8b30319e822d82d8cffc4d04966b57bb94;p=integration%2Fdistribution.git diff --git a/karaf-scripts/src/main/assembly/bin/check_modules.sh b/karaf-scripts/src/main/assembly/bin/check_modules.sh index 56b96e26..8740bc97 100755 --- a/karaf-scripts/src/main/assembly/bin/check_modules.sh +++ b/karaf-scripts/src/main/assembly/bin/check_modules.sh @@ -8,7 +8,7 @@ # # # This script checks the YANG modules collected by the extract_modules.sh -# scripti. The check is done by the pyang tool and an error text file is +# script. The check is done by the pyang tool and an error text file is # generated for every opendaylight project so proper actions can be taken # to fix the modules. # @@ -16,7 +16,7 @@ BIN_DIR=`dirname $0` OUTPUT="$BIN_DIR/../opendaylight-models" -# Exit if no yang module folder is found +# Exit if yang module folder is not found [ ! -d "$OUTPUT" ] && echo "ERROR: no modules found, run extract_module.sh first" && exit 1 # Assemble the pyang command options