kbrodt commited on
Commit
18b697f
1 Parent(s): 978dfc6

Update scripts/prepare.sh

Browse files
Files changed (1) hide show
  1. scripts/prepare.sh +1 -1
scripts/prepare.sh CHANGED
@@ -5,5 +5,5 @@
5
 
6
  v=$(python -c 'import sys; v = sys.version_info; print(f"{v.major}.{v.minor}")')
7
  for p in patches/*.diff; do
8
- patch -p0 -d"${HOME}/.pyenv/versions/$(python -V | cut -d ' ' -f 2)" < <(sed -e 's/venv\///' -e "s/python3.10/python${v}/" "${p}")
9
  done
 
5
 
6
  v=$(python -c 'import sys; v = sys.version_info; print(f"{v.major}.{v.minor}")')
7
  for p in patches/*.diff; do
8
+ patch -p0 -d"${HOME}/.local/lib/python$(python -V | cut -d ' ' -f 2 | cut -d'.' -f 1-2)" < <(sed -e 's/venv\///' -e "s/python3.10/python${v}/" "${p}")
9
  done