File tree Expand file tree Collapse file tree 9 files changed +9
-9
lines changed
Expand file tree Collapse file tree 9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ KIND="${1%/}"
77URL=" $2 "
88BRANCH=" $3 "
99
10- if [ " $# " -ne 3 ] || [ ! -d .git ] || [[ ! " $KIND " =~ ^(requires| equipment)$ ]]; then
10+ if [ $# -ne 3 ] || [ ! -d .git ] || [[ ! " $KIND " =~ ^(requires| equipment)$ ]]; then
1111 CMD=" ${0##*/ } "
1212 cat << EOF
1313Usage: $CMD [requires|equipment] url branch
Original file line number Diff line number Diff line change 33# shellcheck source=.settings
44. " ${BASH_SOURCE%/* } /.settings"
55
6- if [ " $# " -ne 2 ]; then
6+ if [ $# -ne 2 ]; then
77 CMD=" ${0##*/ } "
88 cat << EOF
99Usage: $CMD url branch
Original file line number Diff line number Diff line change 33# shellcheck source=.settings
44. " ${BASH_SOURCE%/* } /.settings"
55
6- if [ " $# " -ne 0 ] || [ ! -d .git ] ; then
6+ if [ $# -ne 0 ] || [ ! -d .git ]; then
77 CMD=" ${0##*/ } "
88 cat << EOF
99Usage: $CMD
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if [ -z "$VERSION" ]; then
2222fi
2323VERSION=" $( to-cpp " $VERSION " ) "
2424
25- if [ " $# " -ne 0 ]; then
25+ if [ $# -ne 0 ]; then
2626 CMD=" ${0##*/ } "
2727 cat << EOF
2828Usage: $CMD
Original file line number Diff line number Diff line change 33# shellcheck source=.settings
44. " ${BASH_SOURCE%/* } /.settings"
55
6- if [ " $# " -ne 0 ] || [ ! -e .gitmodules ] ; then
6+ if [ $# -ne 0 ] || [ ! -e .gitmodules ]; then
77 CMD=" ${0##*/ } "
88 cat << EOF
99Usage: $CMD
Original file line number Diff line number Diff line change 55
66SUBMODULE=" ${1%/ } "
77
8- if [ " $# " -ne 1 ] || [ ! -d " $SUBMODULE " ] ; then
8+ if [ $# -ne 1 ] || [ ! -d " $SUBMODULE " ]; then
99 CMD=" ${0##*/ } "
1010 cat << EOF
1111Usage: $CMD path
Original file line number Diff line number Diff line change 33# shellcheck source=.settings
44. " ${BASH_SOURCE%/* } /.settings"
55
6- if [ " $# " -ne 0 ] || [ ! -f CMakeLists.txt ]; then
6+ if [ $# -ne 0 ] || [ ! -f CMakeLists.txt ]; then
77 CMD=" ${0##*/ } "
88 cat << EOF
99Usage: [option=value ...] $CMD
Original file line number Diff line number Diff line change 33# shellcheck source=.settings
44. " ${BASH_SOURCE%/* } /.settings"
55
6- if [ " $# " -ne 0 ] || [ ! -e .gitmodules ] ; then
6+ if [ $# -ne 0 ] || [ ! -e .gitmodules ]; then
77 CMD=" ${0##*/ } "
88 cat << EOF
99Usage: $CMD
Original file line number Diff line number Diff line change 33# shellcheck source=.settings
44. " ${BASH_SOURCE%/* } /.settings"
55
6- if [ " $# " -ne 0 ] || [ ! -e .gitmodules ] ; then
6+ if [ $# -ne 0 ] || [ ! -e .gitmodules ]; then
77 CMD=" ${0##*/ } "
88 cat << EOF
99Usage: $CMD
You can’t perform that action at this time.
0 commit comments