X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=install-symlinks.sh;h=17e0f0a42b7259df3e1140cf2b42513b87ce50f5;hb=8d95075cb0c3da9dfcefcd612f9fc081b16ea08b;hp=d381326bc98d371fe026788dbd2d6183025a7773;hpb=3260ef8a602bb8deaff9fffc4fa5a40f6417c8f9;p=cmccabe-etc 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