Browse Source

Adjust for deprecation of which(1)

Christoph Biedl 2 years ago
parent
commit
1b69662bc1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      debian/patches/local.enhance-test-script.patch

+ 2 - 2
debian/patches/local.enhance-test-script.patch

@@ -21,9 +21,9 @@ Last-Update: 2014-07-22
 +    exit 2
 +fi
 +
-+if [ -x "$(which gzcat)" ] ; then
++if [ -x "$(command -v gzcat)" ] ; then
 +    ZCAT=gzcat
-+elif [ -x "$(which zcat)" ] ; then
++elif [ -x "$(command -v zcat)" ] ; then
 +    ZCAT=zcat
 +else
 +    echo "Have neither zcat or gzcat"