diff options
author | Sam Atkins <atkinssj@gmail.com> | 2021-06-20 19:44:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-21 16:50:29 +0200 |
commit | e79ef6461a2983985a94e6447418e9453487e212 (patch) | |
tree | 115272de210c28fb87aef07fffa76dedd6eeb9ab /Userland/Services/WindowServer/Cursor.cpp | |
parent | ac9003bb70e76f7108cc1bf7d03c7d13b66256e2 (diff) | |
download | serenity-e79ef6461a2983985a94e6447418e9453487e212.zip |
cp: Copy sources into destination if it is already a directory
Previously, copying a file to a directory, like this:
```cp README.md Desktop```
correctly copied it to Desktop/README.md, but would fail if the
source was also a directory, for example:
```cp -R Documents Desktop```
Now, that correctly copies it to Desktop/Documents, as you would
expect. :^)
Diffstat (limited to 'Userland/Services/WindowServer/Cursor.cpp')
0 files changed, 0 insertions, 0 deletions