FreeBSD Bugzilla – Attachment 180393 Details for
Bug 217451
shells/bash: default path includes the string %%LOCALBASE%%
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for LOCALBASE in default path.
shells-bash.patch (text/plain), 1.48 KB, created by
Dan McGregor
on 2017-03-01 14:15:16 UTC
(
hide
)
Description:
patch for LOCALBASE in default path.
Filename:
MIME Type:
Creator:
Dan McGregor
Created:
2017-03-01 14:15:16 UTC
Size:
1.48 KB
patch
obsolete
>diff --git shells/bash/Makefile shells/bash/Makefile >index f729711305c2..4ebfd82863c6 100644 >--- shells/bash/Makefile >+++ shells/bash/Makefile >@@ -65,6 +65,9 @@ CONFIGURE_ARGS+= --disable-static-link > # "enable -f". (Plugins are not supported for bash-static.) > CFLAGS+= -Wl,-export-dynamic > .endif >+STANDARD_PATH= /sbin:/bin:/usr/sbin:/usr/bin >+CPPFLAGS+= -DDEFAULT_PATH_VALUE='\"${STANDARD_PATH}:${LOCALBASE}/sbin:${LOCALBASE}/bin\"' \ >+ -DSTANDARD_UTILS_PATH='\"${STANDARD_PATH}\"' > > post-patch: > # Ensure y.tab.c is regenerated >diff --git shells/bash/files/patch-config-top.h shells/bash/files/patch-config-top.h >index 08f330f61fb5..b80078cd81cf 100644 >--- shells/bash/files/patch-config-top.h >+++ shells/bash/files/patch-config-top.h >@@ -1,19 +1,6 @@ > --- config-top.h.orig 2016-05-19 18:34:02 UTC > +++ config-top.h >-@@ -63,18 +63,18 @@ >- /* 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:." >-+ "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin" >- #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" >-+ "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games" >+@@ -74,7 +74,7 @@ > #endif > > /* Default primary and secondary prompt strings. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217451
: 180393