Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1--- a/bin/qt-cmake-create.in 2+++ b/bin/qt-cmake-create.in 3@@ -7,12 +7,7 @@ HELP_MESSAGE="Usage 4 script_dir_path=`dirname $0` 5 script_dir_path=`(cd "$script_dir_path"; /bin/pwd)` 6 7-# Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH. 8-original_cmake_path="@CMAKE_COMMAND@" 9-cmake_path=$original_cmake_path 10-if ! test -f "$cmake_path"; then 11- cmake_path="cmake" 12-fi 13+cmake_path="cmake" 14 15 if [ "$#" -gt 1 ]; then 16 echo "Invalid number of arguments" 17diff --git a/bin/qt-cmake.in b/bin/qt-cmake.in 18index f719257f602..571ffe788fa 100755 19--- a/bin/qt-cmake.in 20+++ b/bin/qt-cmake.in 21@@ -4,12 +4,7 @@ 22 script_dir_path=`dirname $0` 23 script_dir_path=`(cd "$script_dir_path"; /bin/pwd)` 24 25-# Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH. 26-original_cmake_path="@CMAKE_COMMAND@" 27-cmake_path=$original_cmake_path 28-if ! test -f "$cmake_path"; then 29- cmake_path="cmake" 30-fi 31+cmake_path="cmake" 32 33 toolchain_path="$script_dir_path/@__GlobalConfig_relative_path_from_bin_dir_to_cmake_config_dir@/qt.toolchain.cmake" 34