summaryrefslogtreecommitdiff
path: root/Tools/scripts/mfh
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/mfh')
-rwxr-xr-xTools/scripts/mfh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/mfh b/Tools/scripts/mfh
index cf332ca43983..14e362687aac 100755
--- a/Tools/scripts/mfh
+++ b/Tools/scripts/mfh
@@ -85,7 +85,7 @@ else cdiffcmd=cat
fi
# I sure hope by 2030 we'll be doing something else. Yes, famous last words.
-if expr "${branch}" : '20[12][0-9]Q[1-4]' > /dev/null; then
+if expr -- "${branch}" : '20[12][0-9]Q[1-4]' > /dev/null; then
shift
if [ "${latest_branch}" != "${branch}" ]; then
ask "/!\\ The latest branch is ${latest_branch}, do you really want to commit to ${branch}?" || exit 1