Commit 755bf63
committed
bash: Replace 'cp -d' command with POSIX 'cp -P'
Comment from Eric Blake:
> We don't have any hard-links in our source. GNU cp -d is the same as
> cp -P --preserve=links, but --preserve=links only matters for hard
> links, so losing it doesn't hurt our usage. I'm inclined to just go
> with cp -P unconditionally rather than needing the configure.ac
> logic for $(CP_D).
Fixes: libguestfs/libguestfs#183
Reported-by: Mohamed Akram
Thanks: Eric Blake
(cherry picked from
libguestfs commit e49d65a5fd07e40260e800c0c262dad7e367b2f6)1 parent 6fe0b91 commit 755bf63
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments