From 209c6365ea654e49a204ea7628bb0ec394e971dc Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Thu, 2 Feb 2023 15:37:37 +0100 Subject: [PATCH] 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. --- utils/new_module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/new_module b/utils/new_module index 2b681966..60b50925 100755 --- a/utils/new_module +++ b/utils/new_module @@ -78,7 +78,7 @@ if [ -z "$name" ] || [ -z "$author" ] || [ -z "$email" ] || [ -z "$github_user" [ -z "$name" ] && echo "ERROR: name is not valid" [ -z "$author" ] && echo "ERROR: author 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 usage; exit 1; -- GitLab