Quote $@ when passing around

This commit is contained in:
Matt Keeler 2018-06-18 14:53:50 -04:00
parent c550eb899d
commit 7f4e18d3d1
6 changed files with 7 additions and 6 deletions

View File

@ -148,5 +148,5 @@ function main {
return 0
}
main $@
main "$@"
exit $?

View File

@ -103,5 +103,5 @@ function main {
return 0
}
main $@
main "$@"
exit $?

View File

@ -96,5 +96,5 @@ function main {
return 0
}
main $@
main "$@"
exit $?

View File

@ -89,6 +89,6 @@ function main {
return 0
}
main $@
main "$@"
exit $?

View File

@ -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 $?

View File

@ -87,6 +87,6 @@ function main {
return 0
}
main $@
main "$@"
exit $?