aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-10-07 23:45:50 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-10-07 23:45:50 +0000
commit7faddc3a122cf0ae9f861876d986e176d5f5eed4 (patch)
treeeff97f9110272e665e1fd5cb25951cf3a10245e6 /pbuilder-updatebuildenv
parent1ff255a32e297cf2e1581862e68c844dcdbfaa6f (diff)
downloadpbuilder-7faddc3a122cf0ae9f861876d986e176d5f5eed4.tar
pbuilder-7faddc3a122cf0ae9f861876d986e176d5f5eed4.tar.gz
use `hash` instead of `which`, for all the good it brings
Gbp: Ignore
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
: