mirror of
https://github.com/getsolus/packages.git
synced 2025-04-26 04:40:17 +03:00
common: Adjust makefile git urls for GH migration
This commit is contained in:
parent
779ffe36c3
commit
4f756c2422
1 changed files with 5 additions and 5 deletions
|
@ -31,18 +31,18 @@ upcheck:
|
|||
@[ ! -d "$(subst .pull,,$@)" ] || ( \
|
||||
echo "Pulling $(subst .pull,,$@)..."; \
|
||||
git_repo=$(subst .pull,,$@); \
|
||||
git -C "$(subst .pull,,$@)" remote set-url origin "https://dev.getsol.us/source/$${git_repo}.git" || exit 0; \
|
||||
git -C "$(subst .pull,,$@)" remote set-url --push origin "ssh://vcs@dev.getsol.us:2222/source/$${git_repo}.git" || exit 0; \
|
||||
git -C "$(subst .pull,,$@)" remote set-url origin "https://github.com/solus-packages/$${git_repo}.git" || exit 0; \
|
||||
git -C "$(subst .pull,,$@)" remote set-url --push origin "git@github.com:solus-packages/$${git_repo}.git" || exit 0; \
|
||||
git -C "$(subst .pull,,$@)" pull || exit 0; \
|
||||
)
|
||||
|
||||
%.clone:
|
||||
@[ -d "$(subst .clone,,$@)" ] || ( \
|
||||
git_repo=$(subst .clone,,$@); \
|
||||
git clone "https://dev.getsol.us/source/$${git_repo}.git" || exit 0; \
|
||||
git clone "https://github.com/solus-packages/$${git_repo}.git" || exit 0; \
|
||||
cd $${git_repo}; \
|
||||
git remote set-url origin "https://dev.getsol.us/source/$${git_repo}.git"; \
|
||||
git remote set-url --push origin "ssh://vcs@dev.getsol.us:2222/source/$${git_repo}.git"; \
|
||||
git remote set-url origin "https://github.com/solus-packages/$${git_repo}.git"; \
|
||||
git remote set-url --push origin "git@github.com:solus-packages/$${git_repo}.git"; \
|
||||
)
|
||||
|
||||
%.clean:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue