diff options
Diffstat (limited to 'tests/xorg-test-run.sh')
-rwxr-xr-x | tests/xorg-test-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xorg-test-run.sh b/tests/xorg-test-run.sh index 9ca9fdb..338ff76 100755 --- a/tests/xorg-test-run.sh +++ b/tests/xorg-test-run.sh @@ -43,7 +43,7 @@ XORG_ARGS="$@" # If the X server has setuid bit, make a local copy -XORG_FULL=`which $XORG` +XORG_FULL=`command -v $XORG` if test -u $XORG_FULL; then XORG=`pwd`/Xorg.no-setuid echo "$XORG_FULL has setuid bit set, will use $XORG" |