From: Denys Vlasenko <dvlas...@redhat.com>

redhat/scripts/rh-dist-git.sh does not take any arguments: fix error message

    if [ -z "$RHDISTGIT_BRANCH" ]; then
        echo "$0 <branch> [local clone] [alternate tmp] [alternate dist-git 
server]" >&2;
        exit 1;

The above is wrong since

    commit e2abc56bcaf0ed772e9f2c828342a5ab8fcd6f1f
    Author: Prarit Bhargava <pra...@redhat.com>
    redhat/scripts/rh-dist-git.sh: Use Makefile variables

Replacing it with

    echo "$0: RHDISTGIT_BRANCH is not set" >&2

Signed-off-by: Denys Vlasenko <dvlas...@redhat.com>

diff --git a/redhat/scripts/rh-dist-git.sh b/redhat/scripts/rh-dist-git.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/rh-dist-git.sh
+++ b/redhat/scripts/rh-dist-git.sh
@@ -17,8 +17,8 @@ function upload()
 }
 
 if [ -z "$RHDISTGIT_BRANCH" ]; then
-       echo "$0 <branch> [local clone] [alternate tmp] [alternate dist-git 
server]" >&2;
-       exit 1;
+       echo "$0: RHDISTGIT_BRANCH is not set" >&2
+       exit 1
 fi
 
 echo "Cloning the repository"

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2753
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to