From cbeee992e86c32056e44a440c843fbae78020b4c Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 18 May 2015 18:27:12 +0200 Subject: [PATCH] contrib/makerepo: use `git remote rm` instead of "remove" Older git versions only know the latter. --- contrib/fedora/utils/makerepo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index c9baf63cf0..4401aff1b6 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -279,7 +279,7 @@ pushd "$DIRNAME" if [[ "$(git remote | grep '^origin$')x" != x && -z "$NO_REMOTE" ]]; then git fetch origin if [[ -n "$LOCAL_MIRROR" ]]; then - git remote remove local-mirror + git remote rm local-mirror fi fi git commit --allow-empty -m '*** empty initial commit' # useful, to rebase the following commit