cp: fix "cp -RL" to create regular files even if src is a symlink

This commit is contained in:
Denis Vlasenko
2008-04-27 22:06:24 +00:00
parent 4809a9f78e
commit c0431ed455
4 changed files with 23 additions and 14 deletions

View File

@@ -0,0 +1,6 @@
mkdir a
>a/file
ln -s file a/link
busybox cp -RHL a b
test ! -L b/link
#sh </dev/tty >/dev/tty 2>&1