From cef2a919b76886df5c26820537f6dc0113dd7569 Mon Sep 17 00:00:00 2001 From: lace <> Date: Thu, 27 Sep 2007 15:21:03 +0000 Subject: [PATCH] Fixed removing of symlinks. --- bin/cvsutil | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cvsutil b/bin/cvsutil index 18cdce1..72c19d5 100755 --- a/bin/cvsutil +++ b/bin/cvsutil @@ -222,7 +222,8 @@ sub localactionrm { my($filename)=@_; - chmod 0700,$filename or do { + # &chmod follows the symlinks. + -l $filename or chmod 0700,$filename or do { mayfatal "File \"$_\" cannot be chmod(2)ed" if !$!{ENOENT}; }; # '\1' for '-r': -- 1.8.3.1