[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU-specific paths on paths.h
From: |
Robert Millan |
Subject: |
GNU-specific paths on paths.h |
Date: |
Fri, 4 Oct 2002 05:03:14 +0200 |
User-agent: |
Mutt/1.4i |
Hello!
It seems that the generic paths.h is not suitable for the GNU system
because it contains paths with /usr and other directories that are not
present in any of its distributions (as Debian GNU/Hurd)
I made up this, which adds the *_ROOT paths needed by some GNU software
packages and sets paths to what is usual to have in the GNU system.
It's a patch against the generic paths.h, which should be made into a
gnu-specific paths.h, but i don't know the glibc build system to add it
myself.
Please could you add a GNU-specific paths.h and set the makefiles to use
that when the system is GNU/Hurd?
thanks
--- paths.h.old 2002-10-04 03:23:46.000000000 +0200
+++ paths.h 2002-10-04 03:32:20.000000000 +0200
@@ -33,10 +33,16 @@
#define _PATHS_H_
/* Default search path. */
-#define _PATH_DEFPATH "/usr/bin:/bin"
+#define _PATH_DEFPATH "/bin"
/* All standard utilities path. */
#define _PATH_STDPATH \
- "/usr/bin:/bin:/usr/sbin:/sbin:/usr/contrib/bin:/usr/old/bin"
+ "/local/bin:/bin:/bin/X11:/games"
+
+/* Default search path for root. */
+#define _PATH_DEFPATH_ROOT "/bin:/sbin"
+/* All standard utilities path for root. */
+#define _PATH_STDPATH_ROOT \
+ "/sbin:/bin:/bin/X11:/local/sbin:/local/bin"
#define _PATH_BSHELL "/bin/sh"
#define _PATH_CONSOLE "/dev/console"
--
Robert Millan
"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"
Andrew S. Tanenbaum, 30 Jan 1992
- GNU-specific paths on paths.h,
Robert Millan <=