diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-07 23:45:50 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-07 23:45:50 +0000 |
commit | 7faddc3a122cf0ae9f861876d986e176d5f5eed4 (patch) | |
tree | eff97f9110272e665e1fd5cb25951cf3a10245e6 | |
parent | 1ff255a32e297cf2e1581862e68c844dcdbfaa6f (diff) | |
download | pbuilder-7faddc3a122cf0ae9f861876d986e176d5f5eed4.tar pbuilder-7faddc3a122cf0ae9f861876d986e176d5f5eed4.tar.gz |
use `hash` instead of `which`, for all the good it brings
Gbp: Ignore
-rwxr-xr-x | pbuilder-updatebuildenv | 2 |
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 : |