aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2008-08-11 23:40:33 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2008-08-11 23:40:33 +0900
commitd154d33fea06d7a7be40775b4063ae8250312761 (patch)
tree65d6f9e4abed1abddb3befa44c2dfe822f872221 /pbuilder-buildpackage-funcs
parent98960e2003834913df870d96a4f7ceabc6fac2c9 (diff)
downloadpbuilder-d154d33fea06d7a7be40775b4063ae8250312761.tar
pbuilder-d154d33fea06d7a7be40775b4063ae8250312761.tar.gz
Reorder command-line options, and add error check so that things are better checked.
--internal-chrootexec "${CHROOTEXEC}" --chroot "${BUILDPLACE}" will always override --internal-chrootexec command, --chroot "${BUILDPLACE}" --internal-chrootexec "${CHROOTEXEC}" is better.
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index 780ff21..5cdbe40 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -37,7 +37,7 @@ function checkbuilddep () {
yes) BUILDOPT="--binary-arch";;
*) ;;
esac
- if "$PBUILDERSATISFYDEPENDSCMD" --control "$1" --internal-chrootexec "${CHROOTEXEC}" --chroot "${BUILDPLACE}" "${BUILDOPT}" ; then
+ if "$PBUILDERSATISFYDEPENDSCMD" --control "$1" --chroot "${BUILDPLACE}" --internal-chrootexec "${CHROOTEXEC}" "${BUILDOPT}" ; then
:
else
# If asked to preserve the build place, and pbuilder-satisfydepends