From 903686b7c60575e3a48f5b50b37bb26d0cda276b Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 15 Nov 2010 19:24:38 -0600 Subject: [PATCH] [sh] handle spaces in sh files --- bashrc | 4 ++-- shinit | 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/shinit b/shinit index 28cf231..49e334f 100644 --- a/shinit +++ b/shinit @@ -1,11 +1,11 @@ if [ -d "${HOME}/.commonsh" ] ; then for file in "${HOME}"/.commonsh/* ; do - . $file + . "${file}" done fi if [ -d "${HOME}/.sh" ] ; then for file in "${HOME}"/.sh/* ; do - . $file + . "${file}" done fi