From b889c4bc40b42a15da4fa0e71d7397a52e4df414 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 9 Jul 2020 01:12:39 +0300 Subject: [PATCH] glib: remove /bin/applets from PATH --- packages/glib/glib-gspawn.c.patch | 2 +- packages/glib/glib-gutils.c.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/glib/glib-gspawn.c.patch b/packages/glib/glib-gspawn.c.patch index c797922f5..8b7a5de4f 100644 --- a/packages/glib/glib-gspawn.c.patch +++ b/packages/glib/glib-gspawn.c.patch @@ -15,7 +15,7 @@ diff -u -r ../glib-2.58.1/glib/gspawn.c ./glib/gspawn.c */ - path = "/bin:/usr/bin:."; -+ path = "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets:."; ++ path = "@TERMUX_PREFIX@/bin:."; } len = strlen (file) + 1; diff --git a/packages/glib/glib-gutils.c.patch b/packages/glib/glib-gutils.c.patch index 65a9f9670..8f74920c3 100644 --- a/packages/glib/glib-gutils.c.patch +++ b/packages/glib/glib-gutils.c.patch @@ -6,7 +6,7 @@ diff -u -r ../glib-2.60.2/glib/gutils.c ./glib/gutils.c */ - path = "/bin:/usr/bin:."; -+ path = "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets:."; ++ path = "@TERMUX_PREFIX@/bin:."; } #else n = GetModuleFileNameW (NULL, wfilename, MAXPATHLEN);