Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove RC_PREFIX environment variable #750

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions man/openrc-run.8
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,6 @@ Default runlevel chosen. Default is default.
.It Va RC_SYS
A special variable to describe the system more.
Possible values are OPENVZ, XENU, XEN0, UML and VSERVER.
.It Va RC_PREFIX
In a Gentoo Prefix installation, this variable contains the prefix
offset. Otherwise it is undefined.
.It Va RC_UNAME
The result of `uname -s`.
.It Va RC_CMD
Expand Down
4 changes: 0 additions & 4 deletions src/shared/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ env_config(void)
if (sys)
setenv("RC_SYS", sys, 1);

#ifdef PREFIX
setenv("RC_PREFIX", RC_PREFIX, 1);
#endif

/* Some scripts may need to take a different code path if
Linux/FreeBSD, etc
To save on calling uname, we store it in an environment variable */
Expand Down
Loading