From: Denys Vlasenko <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue