diff --git a/support/scripts/check-merged b/support/scripts/check-merged index 447abfd815..57db8abd21 100755 --- a/support/scripts/check-merged +++ b/support/scripts/check-merged @@ -47,6 +47,10 @@ while getopts "t:ub" OPT; do esac done +# Remove the options processed by getopts from $@, +# so that $@ now contains only the root directories to check. +shift $((OPTIND -1)) + if [ "${type}" = "skeleton" ]; then strict=true else