mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-19 03:11:09 +02:00
Fix shellcheck detected errors
- onos-package SC2071: > is for string comparisons. Use -gt instead. - ./tools/build/onos-blackduck-zip SC1035: You need a space after the [ and before the ]. Change-Id: I409b4a181e9cd49795afbdaa68b68c26413b9401
This commit is contained in:
parent
77899538d0
commit
2f39b54fd5
@ -204,7 +204,7 @@ function build_rpm() {
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
[[ $# == 0 ]] && ONOS_PACKAGE_TAR_arg=true
|
[[ $# == 0 ]] && ONOS_PACKAGE_TAR_arg=true
|
||||||
while [[ $# > 0 ]]; do
|
while [[ $# -gt 0 ]]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
-t|--tar)
|
-t|--tar)
|
||||||
ONOS_PACKAGE_TAR_arg=true
|
ONOS_PACKAGE_TAR_arg=true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user