]> dgit.raspbian.org Git - git-annex.git/commitdiff
deal with which being deprecated in Debian
authorJoey Hess <joeyh@joeyh.name>
Fri, 21 Jan 2022 18:51:32 +0000 (14:51 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 21 Jan 2022 18:51:32 +0000 (14:51 -0400)
Makefile

index 02ac1c0567d76795c638019aa390e62fa1ebcf93..6114f0d3243db1b1218aed42cd49c969d5a12935 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ mans: Build/MakeMans
 # If ikiwiki is available, build static html docs suitable for being
 # shipped in the software package.
 docs: mans
-       @if [ -n "`which ikiwiki`" ]; then \
+       @if command -v ikiwiki; then \
                LC_ALL=C TZ=UTC ikiwiki doc html -v --wikiname git-annex \
                        --plugin=goodstuff \
                        --no-usedirs --disable-plugin=openid --plugin=sidebar \