summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-26 09:27:54 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-26 09:27:54 (EST)
commitcc34f899af6f60c3068e62651f2eef16e2986c58 (patch)
tree0c4a05f6f3f0c258347d57856e6203f2ce446e8b /src
parent4e7a3bfca01d34e2df07e45ee8b082149d527366 (diff)
opkbuild: Preserve files' metadata in source pkgs.
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh2
1 files changed, 1 insertions, 1 deletions
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