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 d91ce88..fd6cbf7 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -73,7 +73,7 @@ recover_aptcache
$TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup
if [ "$DEBDELTA" = "yes" ]; then
- if $CHROOTEXEC hash debdelta-upgrade 2> /dev/null ; then
+ if $CHROOTEXEC which debdelta-upgrade > /dev/null 2>&1 ; then
log.i "Using debdelta-upgrade for available deltas"
if $CHROOTEXEC debdelta-upgrade ; then
: