From c9a992944c6e2e238c1515776d42856790353d7d Mon Sep 17 00:00:00 2001 From: jD91mZM2 <me@krake.one> Date: Fri, 10 Aug 2018 15:09:14 +0200 Subject: [PATCH] Bash: Fix default PATH variable --- recipes/bash/02-path-separator.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/recipes/bash/02-path-separator.patch b/recipes/bash/02-path-separator.patch index 88ee2120a..55aff5f0f 100644 --- a/recipes/bash/02-path-separator.patch +++ b/recipes/bash/02-path-separator.patch @@ -14,3 +14,22 @@ diff -ru source/general.c source-new/general.c ; *p_index = i; +--- source/config-top.h 2016-05-19 20:34:02.000000000 +0200 ++++ build/config-top.h 2018-08-07 15:00:14.440837632 +0200 +@@ -63,14 +63,14 @@ + /* The default value of the PATH variable. */ + #ifndef DEFAULT_PATH_VALUE + #define DEFAULT_PATH_VALUE \ +- "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:." ++ "/usr/local/bin;/usr/local/sbin;/usr/bin;/usr/sbin;/bin;/sbin;." + #endif + + /* The value for PATH when invoking `command -p'. This is only used when + the Posix.2 confstr () function, or CS_PATH define are not present. */ + #ifndef STANDARD_UTILS_PATH + #define STANDARD_UTILS_PATH \ +- "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc" ++ "/bin;/usr/bin;/sbin;/usr/sbin;/etc;/usr/etc" + #endif + + /* Default primary and secondary prompt strings. */ -- GitLab