aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index 4171da1..df5014e 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -75,7 +75,7 @@ recover_aptcache
$TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup
if [ "$DEBDELTA" = "yes" ]; then
- if $CHROOTEXEC which debdelta-upgrade > /dev/null 2> /dev/null ; then
+ if $CHROOTEXEC hash debdelta-upgrade 2> /dev/null ; then
log "I: Using debdelta-upgrade for available deltas"
if $CHROOTEXEC debdelta-upgrade ; then
: