mirror of https://github.com/status-im/consul.git
Quote $@ when passing around
This commit is contained in:
parent
075f4b64ae
commit
9457468423
|
@ -148,5 +148,5 @@ function main {
|
|||
return 0
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
exit $?
|
|
@ -103,5 +103,5 @@ function main {
|
|||
return 0
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
exit $?
|
|
@ -96,5 +96,5 @@ function main {
|
|||
return 0
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
exit $?
|
|
@ -89,6 +89,6 @@ function main {
|
|||
return 0
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
exit $?
|
||||
|
|
@ -128,6 +128,7 @@ function main {
|
|||
shift 2
|
||||
;;
|
||||
-d | --date)
|
||||
echo "$2"
|
||||
ensure_arg "-d/--date" "$2" || return 1
|
||||
release_date="$2"
|
||||
shift 2
|
||||
|
@ -143,6 +144,6 @@ function main {
|
|||
return $?
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
exit $?
|
||||
|
|
@ -87,6 +87,6 @@ function main {
|
|||
return 0
|
||||
}
|
||||
|
||||
main $@
|
||||
main "$@"
|
||||
exit $?
|
||||
|
Loading…
Reference in New Issue