git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
757dfc8
)
Fixed removing of symlinks.
author
lace
<>
Thu, 27 Sep 2007 15:21:03 +0000
(15:21 +0000)
committer
lace
<>
Thu, 27 Sep 2007 15:21:03 +0000
(15:21 +0000)
bin/cvsutil
patch
|
blob
|
history
diff --git
a/bin/cvsutil
b/bin/cvsutil
index
18cdce1
..
72c19d5
100755
(executable)
--- 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':