aboutsummaryrefslogtreecommitdiff
path: root/devel/shiboken6/files/patch-cmake_ShibokenHelpers.cmake
blob: 1bf82a17406c258e77d32223f3fffaf210334aaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
We don't need bash for a simple export command.

--- cmake/ShibokenHelpers.cmake.orig	2024-04-05 12:14:13 UTC
+++ cmake/ShibokenHelpers.cmake
@@ -769,7 +769,7 @@ $@")
 $@")
     else()
         string(REPLACE ";" ":" path_dirs_native "${path_dirs_native}")
-        file(WRITE "${wrapper_path}" "#!/bin/bash
+        file(WRITE "${wrapper_path}" "#!/bin/sh
 export LD_LIBRARY_PATH=${path_dirs_native}:$LD_LIBRARY_PATH
 $@")
     endif()