Skip to content

Commit d4c3314

Browse files
committed
Fixed homepage guess but not elegantly
1 parent eb83666 commit d4c3314

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configure-skeleton.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ author_name=$(ask_question "Author name" "$git_name")
2525
git_email=$(git config user.email)
2626
author_email=$(ask_question "Author email" "$git_email")
2727

28-
homepage_guess=${echo author_email | awk -F '@' '{print $NF}'//[[:blank:]]/}
28+
homepage_temp=$(echo $author_email | awk -F '@' '{print $NF}')
29+
homepage_guess=${homepage_temp//[[:blank:]]/}
2930
author_homepage=$(ask_question "Author homepage" "$homepage_guess")
3031

3132
username_guess=${author_name//[[:blank:]]/}

0 commit comments

Comments
 (0)