File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88# the rewritten history and rebase any local changes into the rewritten history.
99#
1010
11- VERSION=" v2.3.0 "
11+ VERSION=" v2.3.1 "
1212
1313# Set Defaults
1414SHOW_HELP=0
@@ -67,15 +67,15 @@ while (("$#")); do
6767 # USER_NEW_EMAIL
6868 -e | --new-email)
6969 if [ " $2 " ]; then
70- USER_NEW_EMAIL=$( echo " $2 " | awk " {print tolower( \$ 0)} " )
70+ USER_NEW_EMAIL=" $2 "
7171 shift # Remove argument name from processing
7272 else
7373 echo " ${COLOR_RED} ERROR: Value for $1 is required." ${COLOR_RESET} >&2
7474 exit 1
7575 fi
7676 ;;
7777 -e=*? | --new-email=*? )
78- USER_NEW_EMAIL=$( echo " ${1#* =} " | awk " {print tolower( \$ 0)} " )
78+ USER_NEW_EMAIL=" ${1#* =} "
7979 ;;
8080 # USER_NEW_NAME
8181 -n | --new-name)
@@ -319,7 +319,7 @@ if [ -z "$USER_NEW_EMAIL" ]; then
319319 exit 1
320320else
321321 # Set USER_NEW_EMAIL and transform to lowercase
322- USER_NEW_EMAIL=$( echo " $USER_NEW_EMAIL " | awk " {print tolower( \$ 0)} " )
322+ USER_NEW_EMAIL=" ${USER_NEW_EMAIL} "
323323fi
324324
325325if [ " $USER_OLD_EMAIL " == " $USER_NEW_EMAIL " ]; then
You can’t perform that action at this time.
0 commit comments