aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2003-03-10 11:01:01 +0000
committerdancer <dancer>2003-03-10 11:01:01 +0000
commit339ee7a89b7f9e0755090a1c764e41a4c5b172ad (patch)
tree4e81c66a4d3f14e4c58c084bf52de104281448a2 /pbuilder-checkparams
parentca62e88c1fd2574426cc228aef4a1c5064dd2853 (diff)
downloadpbuilder-339ee7a89b7f9e0755090a1c764e41a4c5b172ad.tar
pbuilder-339ee7a89b7f9e0755090a1c764e41a4c5b172ad.tar.gz
+ * debian/rules: add check target for build.
+ + * Makefile (check): add check target to makefile, to see if there is + any syntax error. + + * pbuilder-updatebuildenv: support --preserve-buildplace + apply things from + Daniel Schepler <schepler@math.berkeley.edu> + + * pbuilder-satisfydepends: support --preserve-buildplace + support Format: field. + + * pbuilder-modules (pbuilder-options): support --preserve-buildplace + + * pbuilder-buildpackage (PACKAGENAME): support --preserve-buildplace + + * pbuilder-buildpackage-funcs: support --preserve-buildplace + + * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): support --preserve-buildplace + + * pbuilder-checkparams (PRESERVE_BUILDPLACE): add PRESERVE_BUILDPLACE + + * pbuilder.8: update docs to add --preserve-buildplace +
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams7
1 files changed, 6 insertions, 1 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index dc6ac86..2e37d67 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -27,6 +27,7 @@ OVERRIDE_APTLINES="no"
BINARY_ARCH="no"
PBUILDER_BUILD_LOGFILE=
USE_PKGNAME_LOGFILE=""
+PRESERVE_BUILDPLACE="no"
while [ -n "$1" ]; do
case "$1" in
@@ -116,6 +117,10 @@ while [ -n "$1" ]; do
DEBBUILDOPTS="${DEBBUILDOPTS} -B"
shift;
;;
+ --preserve-buildplace)
+ PRESERVE_BUILDPLACE="yes"
+ shift;
+ ;;
## pdebuild option
--auto-debsign)
AUTO_DEBSIGN="yes"
@@ -160,7 +165,7 @@ BUILDPLACE=${BUILDPLACE?"Build root directory is not defined"}
# the default is to add a PID in the buildplace specified in the config file.
BASEBUILDPLACE="$BUILDPLACE"
-if [ ! "${INTERNAL_BUILD_UML}" = "yes" ]; then
+if [ "${INTERNAL_BUILD_UML}" != "yes" -a "${PRESERVE_BUILDPLACE}" != "yes" ]; then
BUILDPLACE="$BUILDPLACE/$$"
fi
if [ -z "${CHROOTEXEC}" ]; then