>>>>> On Sat, 23 Mar 2013, Michał Górny wrote:
> +multibuild_merge_root() {
> + [...]
> + if type -P lockf &>/dev/null; then
> + # On BSD, we have 'lockf' wrapper.
> + tar -C "${src}" -f - -c . \
> + | lockf "${lockfile}" tar -x -f - -C "${dest}"
> + else
> + [...]
> + cp -a -l -n "${src}"/. "${dest}"/You assume that cp is GNU, if there's no lockf. Is it guaranteed that this is true on all platforms? Ulrich
