From 198db727b4e8c481e7ff7a1592d72a2043eea446 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Tue, 9 Nov 2010 22:45:07 -0600 Subject: [PATCH] [rc] handle spaces in sourcing --- bashrc | 4 ++-- kshrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index b6fea66..94dc114 100644 --- a/bashrc +++ b/bashrc @@ -6,13 +6,13 @@ # common shell utils if [ -d "${HOME}/.commonsh" ] ; then for file in "${HOME}"/.commonsh/* ; do - . $file + . "${file}" done fi # extras if [ -d "${HOME}/.bash" ] ; then for file in "${HOME}"/.bash/* ; do - . $file + . "${file}" done fi diff --git a/kshrc b/kshrc index 68467b0..c57a919 100644 --- a/kshrc +++ b/kshrc @@ -1,11 +1,11 @@ if [ -d "${HOME}/.commonsh" ] ; then for file in "${HOME}"/.commonsh/* ; do - . $file + . "${file}" done fi if [ -d "${HOME}/.ksh" ] ; then for file in "${HOME}"/.ksh/* ; do - . $file + . "${file}" done fi