mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 17:50:14 +01:00
contrib/makerepo: use git remote rm instead of "remove"
Older git versions only know the latter.
This commit is contained in:
parent
ced90e3677
commit
cbeee992e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue