Skip to content

Commit

Permalink
makefile: fix pb-fetch after starting with mode
Browse files Browse the repository at this point in the history
    (cherry picked from commit 9a65aaf)
  • Loading branch information
jbclements committed May 4, 2021
1 parent bd21dfd commit b78bd33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .makefile
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ fetch-pb-from:
if [ ! -d racket/src/ChezScheme/boot/pb ] ; \
then git clone -q $(SINGLE_BRANCH_FLAG) -b $(PB_BRANCH) $(PB_REPO) $(PB_DIR) ; \
else cd $(PB_DIR) && git fetch -q origin $(PB_BRANCH):remotes/origin/$(PB_BRANCH) ; fi
cd $(PB_DIR) && git remote set-branches origin $(PB_BRANCH)
cd $(PB_DIR) && git checkout -q $(PB_BRANCH)

pb-fetch:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ maybe-fetch-pb-as-is:
fetch-pb-from:
mkdir -p racket/src/ChezScheme/boot
if [ ! -d racket/src/ChezScheme/boot/pb ] ; then git clone -q $(SINGLE_BRANCH_FLAG) -b v8.1 $(PB_REPO) racket/src/ChezScheme/boot/pb ; else cd racket/src/ChezScheme/boot/pb && git fetch -q origin v8.1:remotes/origin/v8.1 ; fi
cd racket/src/ChezScheme/boot/pb && git remote set-branches origin v8.1
cd racket/src/ChezScheme/boot/pb && git checkout -q v8.1
pb-fetch:
$(MAKE) fetch-pb EXTRA_REPOS_BASE="$(EXTRA_REPOS_BASE)" PB_REPO="$(PB_REPO)" SINGLE_BRANCH_FLAG="$(SINGLE_BRANCH_FLAG)"
Expand Down

0 comments on commit b78bd33

Please sign in to comment.