void-packages/srcpkgs/runc/patches/nowhich.patch
2020-01-24 11:32:54 +01:00

13 lines
363 B
Diff

diff --git man/md2man-all.sh man/md2man-all.sh
index f850ddf3..aae189da 100755
--- man/md2man-all.sh
+++ man/md2man-all.sh
@@ -9,7 +9,7 @@ cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
pwd
}
-if ! ( which go-md2man &>/dev/null ); then
+if ! ( command -v go-md2man &>/dev/null ); then
echo "To install man pages, please install 'go-md2man'."
exit 0
fi