mirror of
https://github.com/clearlinux/common.git
synced 2026-08-23 22:46:01 +00:00
Fix 'make pull' to honor the autospec pushurl
A 'make clone' sets the proper git pushurl for autospec, but a subsequent 'make pull' does not honor override. Fix by adding a special condition for 'make pull'. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
+5
-1
@@ -80,7 +80,11 @@ ${PULL_PKGS}:
|
||||
fi ; \
|
||||
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit $$O..$$N; echo; \
|
||||
fi ; \
|
||||
$(call gitoliteurl,$$p); \
|
||||
if [ "$$p" = "projects/autospec" ] ; then \
|
||||
git remote set-url --push origin https://github.com/clearlinux/autospec.git; \
|
||||
else \
|
||||
$(call gitoliteurl,$$p); \
|
||||
fi ; \
|
||||
else \
|
||||
echo "$$p: no such remote 'origin'"; \
|
||||
fi ; \
|
||||
|
||||
Reference in New Issue
Block a user