ports: change bashrc path

genodelabs/genode#4163
This commit is contained in:
Johannes Schlatow 2021-05-21 10:03:39 +02:00 committed by Norman Feske
parent 758c0a21cc
commit b09e69a444
3 changed files with 14 additions and 2 deletions

View File

@ -1 +1 @@
c54af4376c78eb9e3d1463bd015ca4cd75770954
8632284828251187dc52a359cfa15755c191a559

View File

@ -11,5 +11,6 @@ DIR(bash) := src/noux-pkg/bash
PATCHES := src/noux-pkg/bash/build.patch \
src/noux-pkg/bash/check_dev_tty.patch \
src/noux-pkg/bash/disable_man2html.patch \
src/noux-pkg/bash/home_end_delete.patch
src/noux-pkg/bash/home_end_delete.patch \
src/noux-pkg/bash/bashrc.patch
PATCH_OPT := -p1 -d src/noux-pkg/bash

View File

@ -0,0 +1,11 @@
--- a/config-top.h
+++ b/config-top.h
@@ -84,7 +84,7 @@
#define KSH_COMPATIBLE_SELECT
/* Default interactive shell startup file. */
-#define DEFAULT_BASHRC "~/.bashrc"
+#define DEFAULT_BASHRC "/share/bash/bashrc"
/* System-wide .bashrc file for interactive shells. */
/* #define SYS_BASHRC "/etc/bash.bashrc" */