From: Greg Brockman Date: Tue, 24 Aug 2010 06:02:06 +0000 (-0400) Subject: Don't force-remove where not necessary X-Git-Tag: 0.1.8^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/commitdiff_plain/58fdf80b634ee62e377cc28e5607525b57bcbef0 Don't force-remove where not necessary Violence is not the answer. --- diff --git a/invirt-configure-git-hooks b/invirt-configure-git-hooks index 37e3ed4..d84c1d3 100755 --- a/invirt-configure-git-hooks +++ b/invirt-configure-git-hooks @@ -4,7 +4,7 @@ set -e set -u link_to() { - rm -rf "$1" + rm -r "$1" ln -s "$2" "$1" }