aboutsummaryrefslogtreecommitdiff
path: root/audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh
blob: 8b5d9ea74c313e337eb268d9e5f65246d876e911 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Undo bashism added upstream in a5a3562. The built-in 'command' command of
sh(1) does not take multiple arguments.
--- tests/compareIgnoreNew.sh.orig	2022-02-14 10:05:54 UTC
+++ tests/compareIgnoreNew.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 SCRIPTDIR=${0%/*}
-NODEJS=$(command -v node nodejs false | head -1)
+NODEJS=$(which node nodejs false | head -1)
 
 ${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json} -c -s "$1".sofa >tmp1.json 2>tmp1.txt