X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=install-symlinks.sh;h=3ca68a4ef2feb2c6d145edbcc04260eaee2d0abb;hb=HEAD;hp=a479ffb0b3e85a9967b348f4025d2987784c1859;hpb=9d1df29d8e822a0d8aae74d0aebf53f4f2e2cf17;p=cmccabe-etc diff --git a/install-symlinks.sh b/install-symlinks.sh index a479ffb..3ca68a4 100755 --- a/install-symlinks.sh +++ b/install-symlinks.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # install-symlinks.sh @@ -41,6 +41,7 @@ for file in ${BASEDIR}/.[^.]*; do # skip files which we don't want to link [ "${basefile}" == ".git" ] && continue [ "${basefile}" == ".gitignore" ] && continue + [ "${basefile}" == ".ssh" ] && continue pushd .. > /dev/null if [ -L ${basefile} ]; then @@ -64,3 +65,10 @@ if [ $copy_ssh_old -eq 1 ]; then echo "chmod 600 ../.ssh/config" chmod 600 ../.ssh/* fi + +# Install .gradle/.gradle.properties +mkdir -p ../.gradle +pushd ../.gradle +rm -f ./gradle.properties +ln -s ../.gradle.properties ./gradle.properties +popd