diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-08-04 04:22:07 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-08-04 04:22:07 +0200 |
commit | 5bb8f52e467a387c1eb4d8b51230afa37ca55709 (patch) | |
tree | d95ba608f766a48d49ac284654c69b635f4b1ac4 /make/rules.mk | |
parent | 3217b2912508eb5e98cca793a1cbc308d6804e59 (diff) |
Use git pull (not merge).
Diffstat (limited to 'make/rules.mk')
-rw-r--r-- | make/rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/rules.mk b/make/rules.mk index 9961061..5369cd0 100644 --- a/make/rules.mk +++ b/make/rules.mk @@ -29,7 +29,7 @@ $(1): master = $$(subst -LOCALE,$(2:%=-$(2)),$$($(4)_BRANCH)) $(1): branches = $$(if $(2),,$$(filter-out $$(master),$$($(3)_BRANCHES))) $(1): @[ -d "$$(dir $$@)" ] || ( echo mkdir -p "$$(dir $$@)" && mkdir -p "$$(dir $$@)" ) - @[ -d "$$@" ] || ( echo git clone "$$(origin)" "$$@" && git clone -o "$(4)" "$$(origin)" "$$@" ) + @[ -d "$$@" ] || ( echo git clone -o "$(4)" "$$(origin)" "$$@" && git clone -o "$(4)" "$$(origin)" "$$@" ) @$(MAKE) -f "$$(CURDIR)/make/git.mk" -C "$$@" master="$$(master)" branches="$$(branches)" origin="$(4)" update # WARNING: this may wipe unrelated files too! |