Don't force-remove where not necessary 0.1.8
authorGreg Brockman <gdb@mit.edu>
Tue, 24 Aug 2010 06:02:06 +0000 (02:02 -0400)
committerGreg Brockman <gdb@mit.edu>
Tue, 24 Aug 2010 06:02:06 +0000 (02:02 -0400)
Violence is not the answer.

invirt-configure-git-hooks

index 37e3ed4..d84c1d3 100755 (executable)
@@ -4,7 +4,7 @@ set -e
 set -u
 
 link_to() {
-    rm -rf "$1"
+    rm -r "$1"
     ln -s "$2" "$1"
 }