summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 18aac09..64c27b6 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -259,7 +259,8 @@ build_source()
{
src="$(ob_get_source_parameter 'Source')"
ver="$(ob_get_source_parameter 'Version')"
- src_pkg_data_base="src:${src}.data/usr/src/${src}_${ver}"
+ src_pkg_data_base="src:${src}.data$(ob_get_system_path 'package-source' \
+ "${src}" "${ver}")"
"${opt_uid0_cmd}" mkdir -p \
"${src_pkg_data_base}" || \