fix: win installer build: more accurate site_packages path 2

This commit is contained in:
shunf4 2020-12-01 18:30:03 +08:00
parent e78f54b0cb
commit 4a0a23f946
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ function install_gpodder {
"${GPO_VERSION}" "${MINGW_ROOT}"/bin
# install fake dbus
site_packages=$(build_python -c 'import sys;print(next(c for c in sys.path if "site-packages" in c))')
site_packages=$(build_python -c 'import sys;print(next(c for c in sys.path if "site-packages" in c and ".local" not in c))')
site_packages_unix=$(echo "/$site_packages" | sed -e 's/\\/\//g' -e 's/://')
rsync -arv --delete "${REPO_CLONE}"/tools/fake-dbus-module/dbus "${site_packages_unix}/"