From b3f49fc5f95636d68f6c22a49a39a7f95f8b0ef6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 27 Sep 2012 07:56:58 -0400 Subject: [PATCH] Wrap $TARGET in braces in disconnect(). --- dotfiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2