From: W. Trevor King Date: Thu, 27 Sep 2012 11:56:58 +0000 (-0400) Subject: Wrap $TARGET in braces in disconnect(). X-Git-Tag: v0.3~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3f49fc5f95636d68f6c22a49a39a7f95f8b0ef6;p=dotfiles-framework.git Wrap $TARGET in braces in disconnect(). --- diff --git a/dotfiles.sh b/dotfiles.sh index 82ff4f7..900fcf5 100755 --- a/dotfiles.sh +++ b/dotfiles.sh @@ -627,7 +627,7 @@ function disconnect() BASHRC='no' while read FILE; do - if [ "${FILE}" = '.bashrc' ] && [ "$TARGET" -ef "${HOME}" ]; then + if [ "${FILE}" = '.bashrc' ] && [ "${TARGET}" -ef "${HOME}" ]; then BASHRC='yes' fi if [ "${DOTFILES_SRC}/${FILE}" -ef "${TARGET}/${FILE}" ] && [ -h "${TARGET}/${FILE}" ]; then