From 0724ec2e6c9f3697a31b69069dbbf5ff224c810f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:40:17 +0200 Subject: Updating default path. Signed-off-by: Daniel Baumann --- debian/patches/progress-linux/0001-default-path.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/progress-linux/0001-default-path.patch diff --git a/debian/patches/progress-linux/0001-default-path.patch b/debian/patches/progress-linux/0001-default-path.patch new file mode 100644 index 0000000..1a79b0b --- /dev/null +++ b/debian/patches/progress-linux/0001-default-path.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Updating default path. + +diff -Naurp bash.orig/config-top.h bash/config-top.h +--- bash.orig/config-top.h ++++ bash/config-top.h +@@ -63,7 +63,7 @@ + /* 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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:." + #endif + + /* If you want to unconditionally set a value for PATH in every restricted diff --git a/debian/patches/series b/debian/patches/series index 79c2dee..ba2a673 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -33,3 +33,4 @@ use-system-texi2html.diff man-macro-warnings.diff man-vx-opts.diff bash-musl.diff +progress-linux/0001-default-path.patch -- cgit v1.2.3