Enhance github helper scripts (#9887)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-03-01 20:40:53 -06:00
1 parent cd4c35c543
commit 63b13588a8
11 files changed
+34 -21

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
# Do "git rebase -i" against the "target" branch (bugfix-1.1.x, bugfix-2.0.x, or master)
#
[[ $# < 2 ]] || { echo "Usage: `basename $0` [1|2]" 1>&2 ; exit 1; }
[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "Usage: `basename $0` [1|2]" 1>&2 ; exit 1; }
MFINFO=$(mfinfo "$@") || exit 1
IFS=' ' read -a INFO <<< "$MFINFO"