Skip to content

Commit

Permalink
Merge pull request #219 from HaHeho/fix-path-space
Browse files Browse the repository at this point in the history
Fix to accept spaces in paths of test scripts
  • Loading branch information
hoene authored Dec 7, 2023
2 parents e6d0043 + 0c88fbc commit da9e4ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SCRIPTDIR=${0%/*}
NODEJS=$(command -v node nodejs false | head -1)

${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json} -c -o tmp1.json -s "$1".sofa 2>tmp1.txt
"${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json}" -c -o tmp1.json -s "$1".sofa 2>tmp1.txt

ret=$?
if [ "$ret" != 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion tests/compareIgnoreNew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SCRIPTDIR=${0%/*}
NODEJS=$(command -v node nodejs false | head -1)

${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json} -c -s -o tmp1.json "$1".sofa 2>tmp1.txt
"${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json}" -c -s -o tmp1.json "$1".sofa 2>tmp1.txt

ret=$?
if [ "$ret" != 0 ]; then
Expand Down

0 comments on commit da9e4ad

Please sign in to comment.