Skip to content

Commit b736b4d

Browse files
committed
chore: fix wrong path when applying patch in Makefile
1 parent d1bfc36 commit b736b4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ help:
5757
@python3 -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
5858

5959
clone: ## Clone latest cpython repository to `../cpython/` if it doesn't exist
60-
git clone https://github.com/python/cpython.git $(CPYTHON_CLONE) || echo "cpython exists"
60+
git clone --depth 1 --no-single-branch https://github.com/python/cpython.git $(CPYTHON_CLONE) || echo "cpython exists"
6161
cd $(CPYTHON_CLONE) && git checkout $(BRANCH)
62-
curl -L https://github.com/python/cpython/commit/383f9a7.patch/\?full_index\=1 | git apply -v --index
62+
cd $(CPYTHON_CLONE) && curl -L https://github.com/python/cpython/commit/383f9a7.patch/\?full_index\=1 | git apply -v
6363

6464

6565
$(VENV)/bin/activate:

0 commit comments

Comments
 (0)