aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index daeb077..ae1a0a9 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -21,8 +21,8 @@ export LANG=C
export LC_ALL=C
set -e
-. /usr/lib/pbuilder/pbuilder-checkparams
-. /usr/lib/pbuilder/pbuilder-buildpackage-funcs
+. "${BASH_SOURCE%/*}/pbuilder-checkparams"
+. "${BASH_SOURCE%/*}/pbuilder-buildpackage-funcs"
PACKAGENAME="$1"
if [ ! -f "$PACKAGENAME" ]; then