summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/cygwin.yml2
-rw-r--r--tools/list_installed_dll_dependencies_cygwin.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 2e644b3c1..1bfe9a9a7 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -64,4 +64,4 @@ jobs:
dash -c "/usr/bin/python3.8 -m pip show numpy"
dash -c "/usr/bin/python3.8 -m pip show -f numpy | grep .dll"
dash -c "/bin/tr -d '\r' <tools/list_installed_dll_dependencies_cygwin.sh >list_dlls_unix.sh"
- dash "list_dlls_unix.sh"
+ dash "list_dlls_unix.sh" 3.8
diff --git a/tools/list_installed_dll_dependencies_cygwin.sh b/tools/list_installed_dll_dependencies_cygwin.sh
index 5b81998db..240f26800 100644
--- a/tools/list_installed_dll_dependencies_cygwin.sh
+++ b/tools/list_installed_dll_dependencies_cygwin.sh
@@ -11,7 +11,7 @@
# Cygwin-specific, but the rest should work on most platforms with
# /bin/sh
-py_ver=3.7
+py_ver=${1}
site_packages=$(python${py_ver} -m pip show numpy | \
grep Location | cut -d " " -f 2 -);
dll_list=$(for name in $(python${py_ver} -m pip show -f numpy | \