export_dir: don't dereference symlinks
The script publish-export-dir.sh follows symlinks when copying files. This doesn't work correctly if some of the symlinks are broken. It's also not clear why it was done this way in the first place. This patch disables this bihaviour. Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: Ib3513039371b4eafa5aa5e871a506c33b2dfeb81
This commit is contained in:
parent
d33381b26d
commit
d9afeebc33
@ -20,5 +20,5 @@ dst_dir="$PUBLISH_DIR"
|
||||
|
||||
notice "copying export dir $dst_dir"
|
||||
mkdir -p "$dst_dir"
|
||||
find "$src_dir" -mindepth 1 -maxdepth 1 -exec cp -vr --dereference -t "$dst_dir" '{}' '+'
|
||||
find "$src_dir" -mindepth 1 -maxdepth 1 -exec cp -vr -t "$dst_dir" '{}' '+'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user