glib: remove /bin/applets from PATH
This commit is contained in:
parent
5f35941f36
commit
b889c4bc40
@ -15,7 +15,7 @@ diff -u -r ../glib-2.58.1/glib/gspawn.c ./glib/gspawn.c
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
- path = "/bin:/usr/bin:.";
|
- path = "/bin:/usr/bin:.";
|
||||||
+ path = "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets:.";
|
+ path = "@TERMUX_PREFIX@/bin:.";
|
||||||
}
|
}
|
||||||
|
|
||||||
len = strlen (file) + 1;
|
len = strlen (file) + 1;
|
||||||
|
@ -6,7 +6,7 @@ diff -u -r ../glib-2.60.2/glib/gutils.c ./glib/gutils.c
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
- path = "/bin:/usr/bin:.";
|
- path = "/bin:/usr/bin:.";
|
||||||
+ path = "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets:.";
|
+ path = "@TERMUX_PREFIX@/bin:.";
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
n = GetModuleFileNameW (NULL, wfilename, MAXPATHLEN);
|
n = GetModuleFileNameW (NULL, wfilename, MAXPATHLEN);
|
||||||
|
Loading…
Reference in New Issue
Block a user