termux-packages/packages/pass-otp/otp.bash.patch

12 lines
267 B
Diff

--- ./otp.bash~ 2018-11-15 21:17:12.000000000 +0100
+++ ./otp.bash 2021-11-25 13:13:08.973741663 +0100
@@ -17,7 +17,7 @@
# []
VERSION="1.1.1"
-OATH=$(which oathtool)
+OATH=$(command -v oathtool)
## source: https://gist.github.com/cdown/1163649
urlencode() {