0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-27 06:08:57 +00:00
glibc-packages/gpkg/glib/glib-gspawn-posix.c.patch
Max Ivan 6117f39013
update pkgs (#303)
gpkg/glib
gpkg/harfbuzz
gpkg/libwayland
gpkg/mesa
gpkg/ncurses
gpkg/subversion
gpkg/vulkan-headers
gpkg/vulkan-icd-loader
gpkg/vulkan-tools
gpkg/cmake
gpkg/libcurl
gpkg/libexpat
gpkg/libxcursor
gpkg/xtrans
gpkg/alsa-lib
2024-11-13 14:07:19 +03:00

21 lines
617 B
Diff

--- ./glib/gspawn-posix.c 2024-10-17 14:08:41.000000000 +0300
+++ ./glib/gspawn-posix.c.org 2024-11-06 23:25:35.901642834 +0300
@@ -1404,7 +1404,7 @@
* * what to search if PATH is unset. POSIX may, dunno.
* */
- chosen_search_path = "/bin:/usr/bin:.";
+ chosen_search_path = "@TERMUX_PREFIX@/bin:.";
}
if (search_path || search_path_from_envp)
@@ -1815,7 +1815,7 @@
if (argc + 2 > argv_buffer_len)
return FALSE;
- argv_buffer[0] = (char *) "/bin/sh";
+ argv_buffer[0] = (char *) "@TERMUX_PREFIX@/bin/sh";
argv_buffer[1] = (char *) file;
while (argc > 0)
{