summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 5892606..27042ab 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -319,7 +319,12 @@ build()
case "${opt_target}" in
'')
../build build
- ${opt_uid0_cmd} ../build install
+ ${opt_uid0_cmd} sh -s <<-EOF
+ ../build install
+ ob-installdocs
+ ob-gencontrol
+ ob-buildopk
+ EOF
;;
'install'|'install-'*)
${opt_uid0_cmd} ../build "${opt_target}"
@@ -329,10 +334,6 @@ build()
;;
esac
- ob-installdocs
- ob-gencontrol
- ob-buildopk
-
ob-genchanges
}