aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2002-12-12 08:56:05 +0000
committerdancer <dancer>2002-12-12 08:56:05 +0000
commit338d228d31541bdc2cdb0db373d21ee52e137607 (patch)
tree0f506d5df3d2953b14a08b06ee357763ed95c2b4 /pbuilder-checkparams
parent92062470a701aaffb37c63c6b92c35578fe3edce (diff)
downloadpbuilder-338d228d31541bdc2cdb0db373d21ee52e137607.tar
pbuilder-338d228d31541bdc2cdb0db373d21ee52e137607.tar.gz
--auto-debsign option
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams48
1 files changed, 28 insertions, 20 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index b6580be..b442ac0 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -25,6 +25,7 @@ INTERNAL_BUILD_UML=""
CHROOTEXEC=""
OVERRIDE_APTLINES="no"
BINARY_ARCH="no"
+PBUILDER_BUILD_LOGFILE=
while [ -n "$1" ]; do
case "$1" in
@@ -84,17 +85,10 @@ while [ -n "$1" ]; do
DEBBUILDOPTS="$2";
shift; shift;
;;
- --buildsourceroot*)
- BUILDSOURCEROOTCMD="$2";
- shift; shift;
- ;;
- --pbuilderroot*)
- PBUILDERROOTCMD="$2";
- shift; shift;
- ;;
--logfile)
exec > $(readlink -f "$2");
exec 2>&1
+ PBUILDER_BUILD_LOGFILE=$(readlink -f "$2")
shift; shift;
;;
--aptconfdir)
@@ -105,18 +99,6 @@ while [ -n "$1" ]; do
TIMEOUT_TIME="$2"
shift; shift;
;;
- ## internal options.
- --internal-chrootexec)
- # specify custom chrootexec function -- this is internal debugging function
- CHROOTEXEC="$2"
- shift; shift;
- ;;
- --internal-build-uml)
- # specify this option if I am running inside UML.
- echo " -> Running in pbuilder-user-mode-linux mode"
- INTERNAL_BUILD_UML="yes"
- shift;
- ;;
--help)
showhelp
;;
@@ -129,6 +111,32 @@ while [ -n "$1" ]; do
DEBBUILDOPTS="${DEBBUILDOPTS} -B"
shift;
;;
+ ## pdebuild option
+ --auto-debsign)
+ AUTO_DEBSIGN="yes"
+ shift;
+ ;;
+ --buildsourceroot*)
+ BUILDSOURCEROOTCMD="$2";
+ shift; shift;
+ ;;
+ --pbuilderroot*)
+ PBUILDERROOTCMD="$2";
+ shift; shift;
+ ;;
+ ## internal options.
+ --internal-chrootexec)
+ # specify custom chrootexec function -- this is internal debugging function
+ CHROOTEXEC="$2"
+ shift; shift;
+ ;;
+ --internal-build-uml)
+ # specify this option if I am running inside UML.
+ echo " -> Running in pbuilder-user-mode-linux mode"
+ INTERNAL_BUILD_UML="yes"
+ shift;
+ ;;
+
--) # this is an empty option, to no longer process.
shift;
break;