Skip to content

Commit

Permalink
json-check: use $ODAFileConverter_geometry env
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Oct 27, 2023
1 parent a46f7ce commit 9574dc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion json-check
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ if [ -f "$b.dwg" ] && [ -n "$r" ]; then
1\.*) can_teigha=0 ;;
11) r=12 ;;
esac
# shellcheck disable=SC2086,SC2154
if [ -x "$TeighaFileConverter" ] && [ "$can_teigha" = "1" ]; then
echo timeout 30 "$baseFileConverter" . . "ACAD$r" DXF 0 1 "$b.dwg"
timeout 30 "$TeighaFileConverter" . . "ACAD$r" DXF 0 1 "$b.dwg" \
>/dev/null 2>/dev/null
$ODAFileConverter_geometry >/dev/null 2>/dev/null
rm "$b.json.err" 2>/dev/null
if [ -e "./$b.dxf.err" ]; then
echo "$d" >"$b.json.err"
Expand Down

0 comments on commit 9574dc3

Please sign in to comment.