From eb2b1217702bbb8409697f968e31a768f7e77d6b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 15:21:11 -0400 Subject: Run ob-{installdocs,gencontrol,buildopk} as UID 0. --- 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 } -- cgit v0.9.1