aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-aptitude
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2007-03-31 15:39:08 +0200
committerLoïc Minier <lool@dooz.org>2007-03-31 15:39:08 +0200
commit8bb7ffe30bf79c6acbfb15c6be34fce5f4a945d7 (patch)
treef254c237bae20f0f5d5cf98afdf57e8b348ef583 /pbuilder-satisfydepends-aptitude
parent6de7a42e5278688ae51cddd6aa0812f43b361787 (diff)
downloadpbuilder-8bb7ffe30bf79c6acbfb15c6be34fce5f4a945d7.tar
pbuilder-8bb7ffe30bf79c6acbfb15c6be34fce5f4a945d7.tar.gz
* Move command-line parsing logic used in pbuilder-satisfydepends* into
pbuilder-satisfydepends-checkparams.
Diffstat (limited to 'pbuilder-satisfydepends-aptitude')
-rwxr-xr-xpbuilder-satisfydepends-aptitude54
1 files changed, 1 insertions, 53 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude
index b6353ce..1fb41a3 100755
--- a/pbuilder-satisfydepends-aptitude
+++ b/pbuilder-satisfydepends-aptitude
@@ -91,57 +91,5 @@ Copyright 2002-2007 Junichi Uekawa <dancer@debian.org>
EOF
}
+. /usr/lib/pbuilder/pbuilder-satisfydepends-checkparams
-DEBIAN_CONTROL=debian/control
-CHROOTEXEC=""
-BD_REGEXP="build-(depends|depends-indep)"
-BC_REGEXP="build-(conflicts|conflicts-indep)"
-FORCEVERSION=""
-CONTINUE_FAIL="no"
-
-
-while [ -n "$1" ]; do
- case "$1" in
- --control|-c)
- DEBIAN_CONTROL="$2"
- shift; shift
- ;;
- --chroot)
- CHROOTEXEC="chroot $2 "
- shift; shift
- ;;
- --internal-chrootexec)
- CHROOTEXEC="$2"
- shift; shift
- ;;
- --binary-all)
- BD_REGEXP='build-(depends|depends-indep)'
- BC_REGEXP='build-(conflicts|conflicts-indep)'
- shift
- ;;
- --binary-arch)
- BD_REGEXP='build-depends'
- BC_REGEXP='build-conflicts'
- shift
- ;;
- --echo)
- CHROOTEXEC="echo $CHROOTEXEC"
- shift
- ;;
- --continue-fail)
- CONTINUE_FAIL="yes"
- shift
- ;;
- --force-version)
- FORCEVERSION="yes"
- shift;
- ;;
- --help|-h|*)
- print_help
- exit 1
- ;;
- esac
-done
-
-
-checkbuilddep_internal