[haiku-commits] BRANCH HaikuPM-github.package-management [415f424] src/bin/bash

  • From: HaikuPM-github.package-management <community@xxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 5 May 2013 21:15:30 +0200 (CEST)

added 1 changeset to branch 'refs/remotes/HaikuPM-github/package-management'
old head: 5be0b187f5090f01624b6f33fe7782974653b25a
new head: 415f42489f6efbac8edaa154f9e8ded5ab25bf35
overview: https://github.com/haiku/HaikuPM/compare/5be0b18...415f424

----------------------------------------------------------------------------

415f424: Fix bash's default value for PATH

                                    [ Ingo Weinhold <ingo_weinhold@xxxxxx> ]

----------------------------------------------------------------------------

Commit:      415f42489f6efbac8edaa154f9e8ded5ab25bf35
Author:      Ingo Weinhold <ingo_weinhold@xxxxxx>
Date:        Sun May  5 19:04:11 2013 UTC

----------------------------------------------------------------------------

1 file changed, 7 insertions(+), 2 deletions(-)
src/bin/bash/config-top.h | 9 +++++++--

----------------------------------------------------------------------------

diff --git a/src/bin/bash/config-top.h b/src/bin/bash/config-top.h
index 66c4676..d1db3f8 100644
--- a/src/bin/bash/config-top.h
+++ b/src/bin/bash/config-top.h
@@ -54,7 +54,9 @@
 /* The default value of the PATH variable. */
 #ifndef DEFAULT_PATH_VALUE
 #define DEFAULT_PATH_VALUE \
-  ".:/boot/home/config/bin:/bin:/boot/apps:/boot/preferences" \
+  ".:/boot/home/config/non-packaged/bin:/boot/home/config/bin" \
+  ":/boot/common/non-packaged/bin:/boot/common/bin" \
+  ":/bin:/boot/apps:/boot/preferences" \
   ":/boot/system/apps" \
   ":/boot/system/preferences" 
 #endif
@@ -63,7 +65,10 @@
    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"
+  ":/boot/common/non-packaged/bin:/boot/common/bin" \
+  ":/bin:/boot/apps:/boot/preferences" \
+  ":/boot/system/apps" \
+  ":/boot/system/preferences" 
 #endif
 
 /* Default primary and secondary prompt strings. */


Other related posts:

  • » [haiku-commits] BRANCH HaikuPM-github.package-management [415f424] src/bin/bash - HaikuPM-github . package-management