summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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