Skip to content
Snippets Groups Projects
Commit 209c6365 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

utils/new_module: Fix github_user test

new_module was always failing with "github_user is not valid". The wrong
variable was checked: $githubuser instead of $github_user.
parent b861a618
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ if [ -z "$name" ] || [ -z "$author" ] || [ -z "$email" ] || [ -z "$github_user" ...@@ -78,7 +78,7 @@ if [ -z "$name" ] || [ -z "$author" ] || [ -z "$email" ] || [ -z "$github_user"
[ -z "$name" ] && echo "ERROR: name is not valid" [ -z "$name" ] && echo "ERROR: name is not valid"
[ -z "$author" ] && echo "ERROR: author is not valid" [ -z "$author" ] && echo "ERROR: author is not valid"
[ -z "$email" ] && echo "ERROR: email is not valid" [ -z "$email" ] && echo "ERROR: email is not valid"
[ -z "$githubuser" ] && echo "ERROR: github_user is not valid" [ -z "$github_user" ] && echo "ERROR: github_user is not valid"
echo echo
usage; usage;
exit 1; exit 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment