From c06b1494a26f5274e72b04286cab28a5d0d7188d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 25 Oct 2012 19:56:14 -0400 Subject: Make ob_get_doc_files() accept arch and plat args. The contents of the changelog file might be made architecture-dependent by binary rebuilds. So prepare to make the file's pathname architecture-specific to support co-installation of multiple architectures. --- (limited to 'src') diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh index 1e596e3..dfd5b70 100644 --- a/src/ob-installdocs.sh +++ b/src/ob-installdocs.sh @@ -50,7 +50,8 @@ main() ob_info "$(ob_get_msg 'installing_docs')" "${pkg}" mkdir -p "${data_doc_dir}" || \ ob_error "$(ob_get_msg 'cant_make_doc_dir')" - ob_get_doc_files | while read src dest; do + ob_get_doc_files "${OPK_HOST_ARCH}" "${OPK_HOST_PLAT}" | \ + while read src dest; do if [ -f "${src}" ]; then if [ "${dest%/*}" != "${dest}" ]; then mkdir -p "${data_doc_dir}/${dest%/*}" || \ -- cgit v0.9.1