From 93f3cc0b30f3213d791d5c613780225270017eed Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Sun, 2 Jan 2011 12:37:09 -0800 Subject: [PATCH] install-symlinks: ignore .gitignore Signed-off-by: Colin McCabe --- install-symlinks.sh | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/install-symlinks.sh b/install-symlinks.sh index d381326..17e0f0a 100755 --- a/install-symlinks.sh +++ b/install-symlinks.sh @@ -24,9 +24,8 @@ for file in ${BASEDIR}/.[^.]*; do relfile=`echo ${file} | sed 's_.*/\([^/]*/[^/]*\)$_\1_'` # skip files which we don't want to link - if [ "${basefile}" == ".git" ]; then - continue; - fi + [ "${basefile}" == ".git" ] && continue + [ "${basefile}" == ".gitignore" ] && continue pushd .. > /dev/null if [ -L ${basefile} ]; then -- 1.6.6.rc1.39.g9a42