]> granicus.if.org Git - graphviz/commitdiff
fix typo in error message when failing to find Python 2 install dir
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 18:20:34 +0000 (11:20 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 01:26:02 +0000 (18:26 -0700)
32466ecc452102a1fc84f4331c0ed099da4e7edc replicated the unified Python bindings
support into Python 2 and Python 3 cases. However, it incorrectly used the
Python 3 variable in this error message instead of the Python 2 variable.
Related to #1992.

tclpkg/Makefile.am

index 48c2d364220e793802ecbeaf7b82aa78da47a0ef..d03cc5b38caa3d665bef5ce5af524bb9a8b324cb 100644 (file)
@@ -90,7 +90,7 @@ if WITH_PYTHON2
                        cp -f $(DESTDIR)$(pkgpython2dir)/libgv_python2.so _gv.so; \
                        cp -f $(DESTDIR)$(pkgpython2dir)/gv.py gv.py;) \
        else \
-               echo "Warning: @PYTHON3_INSTALL_DIR@ is not writable."; \
+               echo "Warning: @PYTHON2_INSTALL_DIR@ is not writable."; \
                echo "Skipping system installation of python2 binding."; \
        fi
 endif