[24401] in Source-Commits
/svn/athena r23996 - trunk/debathena/config/shell-config/debian
daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Tue Sep 8 10:36:51 2009
Date: Tue, 8 Sep 2009 10:36:40 -0400
From: Anders Kaseorg <andersk@MIT.EDU>
Message-Id: <200909081436.n88EaeeY014689@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: andersk
Date: 2009-09-08 10:36:40 -0400 (Tue, 08 Sep 2009)
New Revision: 23996
Modified:
trunk/debathena/config/shell-config/debian/bash.bashrc.debathena
trunk/debathena/config/shell-config/debian/profile.debathena
Log:
?\226?\128?\152source?\226?\128?\153 is a pointless bashism for ?\226?\128?\152.?\226?\128?\153; you can?\226?\128?\153t use it in /etc/profile.
For consistency, don?\226?\128?\153t use it in /etc/bash.bashrc either.
Modified: trunk/debathena/config/shell-config/debian/bash.bashrc.debathena
===================================================================
--- trunk/debathena/config/shell-config/debian/bash.bashrc.debathena 2009-09-08 03:36:32 UTC (rev 23995)
+++ trunk/debathena/config/shell-config/debian/bash.bashrc.debathena 2009-09-08 14:36:40 UTC (rev 23996)
@@ -3,8 +3,8 @@
# It sources all bash scripts in the directory bashrc.d
# To remove this feature, uninstall the debathena-bash-config package.
-DEBATHENA_BASHRC_DIR=/usr/share/debathena-bash-config/bashrc.d/
-for i in `run-parts --list "$DEBATHENA_BASHRC_DIR"`; do source "$i"; done
+DEBATHENA_BASHRC_DIR=/usr/share/debathena-bash-config/bashrc.d
+for i in `run-parts --list "$DEBATHENA_BASHRC_DIR"`; do . "$i"; done
# Now source the normal bash.bashrc (afterwards, to allow overrides)
. /etc/bash.bashrc.debathena-orig
Modified: trunk/debathena/config/shell-config/debian/profile.debathena
===================================================================
--- trunk/debathena/config/shell-config/debian/profile.debathena 2009-09-08 03:36:32 UTC (rev 23995)
+++ trunk/debathena/config/shell-config/debian/profile.debathena 2009-09-08 14:36:40 UTC (rev 23996)
@@ -5,7 +5,7 @@
# sets ATHENA_SYS is set correctly, and other similar tasks.
# To remove this feature, uninstall the debathena-bash-config package.
DEBATHENA_PROFILE_DIR=/usr/share/debathena-bash-config/profile.d
-for i in `run-parts --list "$DEBATHENA_PROFILE_DIR"`; do source "$i"; done
+for i in `run-parts --list "$DEBATHENA_PROFILE_DIR"`; do . "$i"; done
# Now source the normal profile (afterwards, to allow overrides)
. /etc/profile.debathena-orig