aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-aptitude
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-05 10:49:01 +0100
committerLoïc Minier <lool@dooz.org>2010-01-05 10:49:01 +0100
commite9b9af550004daf7837a9009cd05dbab51a85509 (patch)
tree8b758baf79e01c3f6af39423aff17e6e3368be87 /pbuilder-satisfydepends-aptitude
parentc4933629883a8e4118f2b370cc549b404c98e2cf (diff)
downloadpbuilder-e9b9af550004daf7837a9009cd05dbab51a85509.tar
pbuilder-e9b9af550004daf7837a9009cd05dbab51a85509.tar.gz
Make satisfydepends-aptitude, -classic relocatable
Make pbuilder-satisfydepends-aptitude and -classic relocatable.
Diffstat (limited to 'pbuilder-satisfydepends-aptitude')
-rwxr-xr-xpbuilder-satisfydepends-aptitude7
1 files changed, 5 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude
index 1031497..9ddabee 100755
--- a/pbuilder-satisfydepends-aptitude
+++ b/pbuilder-satisfydepends-aptitude
@@ -21,7 +21,10 @@
set -e
-. /usr/lib/pbuilder/pbuilder-satisfydepends-funcs
+export PBUILDER_PKGLIBDIR="${PBUILDER_PKGLIBDIR:-$PBUILDER_ROOT/usr/lib/pbuilder}"
+
+. "$PBUILDER_PKGLIBDIR"/pbuilder-satisfydepends-funcs
+
# filter out dependencies sent on input not for this arch; deps can have
# multiple lines; output is on a single line or "" if empty
@@ -114,5 +117,5 @@ Copyright 2002-2007 Junichi Uekawa <dancer@debian.org>
EOF
}
-. /usr/lib/pbuilder/pbuilder-satisfydepends-checkparams
+. "$PBUILDER_PKGLIBDIR"/pbuilder-satisfydepends-checkparams