[SM-Commit] GIT changes to stable-0.4 grimoire by Eric Sandall (50758f5a9fd8e1dbcfd725281b69de0183ecf401)

Eric Sandall scm at mail.sourcemage.org
Wed Dec 6 13:46:34 EST 2006


GIT changes to stable-0.4 grimoire by Eric Sandall <sandalle at moby.(none)>:

 libs/readline/HISTORY                   |    2 ++
 libs/readline/etc/profile.d/readline.sh |    7 +++++++
 2 files changed, 9 insertions(+)

New commits:
commit 50758f5a9fd8e1dbcfd725281b69de0183ecf401
Author: Eric Sandall <sandalle at moby.(none)>
Commit: Eric Sandall <sandalle at moby.(none)>

    etc/profile.d/readline.sh: Added for the same reason as above, but from the commit f32db01461d35e5b64532b8b8834108a3dd2a7fe.

diff --git a/libs/readline/HISTORY b/libs/readline/HISTORY
index add51a5..9f1f1c3 100644
--- a/libs/readline/HISTORY
+++ b/libs/readline/HISTORY
@@ -3,6 +3,8 @@
 	  eda36b7808febe950b9af271debe71eb74c3d2dc as the commit that added
 	  inputrc also modified many other files, and we just need inputrc
 	  to fix readline.
+	* etc/profile.d/readline.sh: Added for the same reason as above, but from
+	  the commit f32db01461d35e5b64532b8b8834108a3dd2a7fe.
 
 2006-09-22 Juuso Alasuutari <iuso at sourcemage.org>
 	* CONFIGURE: Adding this now, forgot...
diff --git a/libs/readline/etc/profile.d/readline.sh b/libs/readline/etc/profile.d/readline.sh
new file mode 100755
index 0000000..d60449b
--- /dev/null
+++ b/libs/readline/etc/profile.d/readline.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# If user has no local inputrc file, use global file if it exists
+
+if [ ! -f $HOME/.inputrc ]  &&
+   [ -f /etc/inputrc ];   then
+  export INPUTRC=/etc/inputrc
+fi



More information about the SM-Commit mailing list