]> git.sev.monster Git - dotfiles.git/blobdiff - bin/pinentry
replace which with command, remove ref to .fehbg
[dotfiles.git] / bin / pinentry
index 52fd48ae9f65af9dc70ae16bd37748bc43fcb45b..0bd1062bddde4ee4a6b99a7edb1ebf5d682e3397 100755 (executable)
@@ -11,7 +11,7 @@ case "${PINENTRY_USER_DATA-}" in
 esac
 
 for x in $list; do
 esac
 
 for x in $list; do
-       p=which "pinentry-$x" 2>/dev/null
+       p=$(command -v "pinentry-$x") 2>/dev/null
        if [ $? = 0 ]; then
                exec "$p" "$@"
        fi
        if [ $? = 0 ]; then
                exec "$p" "$@"
        fi
This page took 0.034158 seconds and 4 git commands to generate.