mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 00:58:39 -04:00
[master] use 'command' instead of 'type' to find atf-run and kyua paths
This commit is contained in:
parent
7bc5e6a749
commit
bc89b287c9
1 changed files with 2 additions and 2 deletions
4
unit/unittest.sh.in
Normal file → Executable file
4
unit/unittest.sh.in
Normal file → Executable file
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
PATH="@ATFBIN@:${PATH}"
|
||||
export PATH
|
||||
ATFRUN=`type atf-run 2>/dev/null | awk '{print $3}'`
|
||||
KYUA=`type kyua 2>/dev/null | awk '{print $3}'`
|
||||
ATFRUN=`command -v atf-run 2>/dev/null`
|
||||
KYUA=`command -v kyua 2>/dev/null`
|
||||
|
||||
status=0
|
||||
if [ -n "@UNITTESTS@" -a -x "$ATFRUN" -a -f Atffile ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue