]> www.infradead.org Git - users/dwmw2/vpnc-scripts.git/commit
Use `type -P` instead of `command -v` in tests/ bash scripts
authorVille Skyttä <ville.skytta@iki.fi>
Sun, 14 Nov 2021 09:18:43 +0000 (11:18 +0200)
committerVille Skyttä <ville.skytta@iki.fi>
Sun, 14 Nov 2021 09:18:43 +0000 (11:18 +0200)
commit28fc3578f96d34923665cfad406a9f59d70014a6
tree35180d314830e7334c6d6dd63e35dae03a9d24f3
parent48aa806a7d753cfa77a21c7b95c76cbaa1e34daa
Use `type -P` instead of `command -v` in tests/ bash scripts

The output of `command -v` is not helpful for our purposes for aliases.
`type -P` works, and unportability of `-P` is not a problem in bash
scripts.
tests/common.sh
tests/ns.sh