0002-configure-ac-typo-in-path-to-test-with-nut_telnetlib-Python-module.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From d0a234ac4fe9304c4178256584712e4359541060 Mon Sep 17 00:00:00 2001
  2. From: Jim Klimov <jimklimov+nut@gmail.com>
  3. Date: Wed, 3 Jul 2024 09:51:07 +0200
  4. Subject: [PATCH] configure.ac: typo in path to test with nut_telnetlib Python
  5. module [#2183]
  6. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
  7. Upstream: https://github.com/networkupstools/nut/commit/d0a234ac4fe9304c4178256584712e4359541060
  8. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  9. ---
  10. configure.ac | 4 ++--
  11. 1 file changed, 2 insertions(+), 2 deletions(-)
  12. diff --git a/configure.ac b/configure.ac
  13. index 935e73d368..e542baacd2 100644
  14. --- a/configure.ac
  15. +++ b/configure.ac
  16. @@ -2474,7 +2474,7 @@ if test x"${nut_with_pynut}" != xno \
  17. dnl this line essentially checks for presence of
  18. dnl a usable interpreter implementation compatible
  19. dnl with Python 3.x syntax.
  20. - if (cd script/python/module && ${PYTHON3} -c "import nut_telnetlib as telnetlib") \
  21. + if (cd scripts/python/module && ${PYTHON3} -c "import nut_telnetlib as telnetlib") \
  22. ; then
  23. nut_with_pynut_py3="yes"
  24. fi
  25. @@ -2491,7 +2491,7 @@ if test x"${nut_with_pynut}" != xno \
  26. nut_with_pynut_py="yes"
  27. else
  28. dnl See comments above
  29. - if (cd script/python/module && ${PYTHON} -c "import nut_telnetlib as telnetlib") \
  30. + if (cd scripts/python/module && ${PYTHON} -c "import nut_telnetlib as telnetlib") \
  31. ; then
  32. nut_with_pynut_py="yes"
  33. fi