mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
(update): Fix botch of *-sync-* vars to be updated.
This commit is contained in:
parent
bba9c68822
commit
a4947a1a53
@ -23,9 +23,7 @@ select-snapshot = -r '$($(glibc-branch)-sync-tag)'
|
||||
snapshot-id = $($(glibc-branch)-sync-tag)
|
||||
|
||||
|
||||
branch.mk-vars = glibc-branch glibc-base \
|
||||
$(glibc-branch)-sync-date $(glibc-branch)-sync-tag \
|
||||
DIST_BRANCH COLLECTION
|
||||
branch.mk-vars = glibc-branch glibc-base DIST_BRANCH COLLECTION
|
||||
|
||||
update:
|
||||
now=`date -u $(snapshot-date-fmt)`; \
|
||||
@ -35,6 +33,8 @@ update:
|
||||
(echo '# This file is updated automatically by Makefile.'; \
|
||||
$(foreach var,$(branch.mk-vars),\
|
||||
$(if $($(var)),echo '$(var) := $($(var))';)) \
|
||||
echo "$(glibc-branch)-sync-date := $$now"; \
|
||||
echo "$(glibc-branch)-sync-tag := $$new"; \
|
||||
) > branch.mk; \
|
||||
cd ..; (set -x; cvs -q update -d -P \
|
||||
-j'$($(glibc-branch)-sync-tag)' -j"$$new") \
|
||||
|
Loading…
x
Reference in New Issue
Block a user