From cc34f899af6f60c3068e62651f2eef16e2986c58 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 26 Feb 2014 09:27:54 -0500 Subject: opkbuild: Preserve files' metadata in source pkgs. --- (limited to 'src/opkbuild.sh') diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 68fec15..6ae8df5 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -272,7 +272,7 @@ build_source() ../tmp) ;; ../*) - "${opt_uid0_cmd}" -- cp -R "${file}" "${src_pkg_data_base}" || \ + "${opt_uid0_cmd}" -- cp -Rp "${file}" "${src_pkg_data_base}" || \ ob_error "$(ob_get_msg 'cant_install_src_pkg_file')" ;; esac -- cgit v0.9.1