fixed broken file copy for files in multi level directories
Thanks to @marmarek for the report and help fixing!
This commit is contained in:
parent
184f49dbbd
commit
e9fca8fb9f
@ -100,7 +100,7 @@ bind_dirs() {
|
|||||||
fi
|
fi
|
||||||
elif [ -f "$fso_ro" ]; then
|
elif [ -f "$fso_ro" ]; then
|
||||||
if [ ! -f "$fso_rw" ]; then
|
if [ ! -f "$fso_rw" ]; then
|
||||||
cp --archive --recursive "$fso_ro" "$fso_rw"
|
cp --archive --recursive --parents "$fso_ro" "$rw_dest_dir"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
true "$fso_ro is neither a directory nor a file or does not exist, skipping."
|
true "$fso_ro is neither a directory nor a file or does not exist, skipping."
|
||||||
|
Loading…
Reference in New Issue
Block a user