fix logic

master
Dirk Heilig 2024-04-16 00:24:14 +02:00
parent 2717264ff4
commit 0e98742706
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
openscad="$(which openscad)"
colorscad="${COLORSCAD:-$(which colorscad.sh)}"
use_colorscad=false
test -x "$colorscad" || use_colorscad=false
test -x "$colorscad" && use_colorscad=false
if [[ $? -gt 0 && "$(uname)" == "Darwin" ]]; then
openscad="/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD"