Description: Give priority to /bin/ over /usr/bin/ as path for bash
 This is a Debian-specific change to avoid Lintian warning
 example-wrong-path-for-interpreter and there is no need to forward
 this patch upstream.
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2022-12-03

--- plplot-5.15.0+dfsg.orig/cmake/modules/plplot.cmake
+++ plplot-5.15.0+dfsg/cmake/modules/plplot.cmake
@@ -122,6 +122,7 @@ set(CORE_BUILD ON)
 option(BUILD_TEST "Compile examples in the build tree and enable ctest" OFF)
 
 # Use bash when available for ctest and install tree test support
+find_program(SH_EXECUTABLE bash PATHS /bin NO_DEFAULT_PATH)
 find_program(SH_EXECUTABLE bash)
 find_program(SH_EXECUTABLE win-bash)
 if(SH_EXECUTABLE)
