summaryrefslogtreecommitdiff
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2021-10-26 19:14:09 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2021-10-26 19:20:17 +0200
commit109e176a99368ad30c5c1eab908973559eca061c (patch)
tree7881d39f3425726267c6595d4c0d903f735c1b30
parent54b016cc4a2615b29a683745ce0146f9d668cb4e (diff)
dummy-xorg-test-runner: Use command -v instead of deprecated which
-rwxr-xr-xtests/dummy-xorg-test-runner.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dummy-xorg-test-runner.sh b/tests/dummy-xorg-test-runner.sh
index a4808f80a..3909ecdb2 100755
--- a/tests/dummy-xorg-test-runner.sh
+++ b/tests/dummy-xorg-test-runner.sh
@@ -17,7 +17,7 @@
MAX_WAIT=10
-binary=$(which $1)
+binary=$(command -v $1)
if [ -z "$binary" ]; then
if [ -z "$1" ]; then