mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-04 17:12:20 +00:00
16 lines
314 B
Diff
16 lines
314 B
Diff
diff --git a/otp.bash b/otp.bash
|
|
index a0688d2..c859404 100755
|
|
--- a/otp.bash
|
|
+++ b/otp.bash
|
|
@@ -17,8 +17,8 @@
|
|
# []
|
|
|
|
VERSION="1.1.2"
|
|
-OATH=$(which oathtool)
|
|
-OTPTOOL=$(which otptool)
|
|
+OATH=$(command -v oathtool)
|
|
+OTPTOOL=$(command -v otptool)
|
|
|
|
## source: https://gist.github.com/cdown/1163649
|
|
urlencode() {
|