diff --git a/scripts/make_all_docs.sh b/scripts/make_all_docs.sh index afb581c..ddd9937 100755 --- a/scripts/make_all_docs.sh +++ b/scripts/make_all_docs.sh @@ -34,7 +34,7 @@ rm -f tmpscad*.scad for lib in $PREVIEW_LIBS; do lib="$(basename $lib .scad)" mkdir -p images/$lib - if [ "$IMGGEN" != "" -a "$TESTONLY" != ""]; then + if [ "$IMGGEN" != "" -a "$TESTONLY" != "" ]; then rm -f images/$lib/*.png images/$lib/*.gif fi echo "$lib.scad" diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index c435acb..36d4cc4 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -1,6 +1,10 @@ #!/bin/bash -OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD +if [ "$(uname -s)" != "Darwin" ]; then + OPENSCAD=openscad +else + OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD +fi for testscript in tests/test_*.scad ; do repname="$(basename $testscript|sed 's/^test_//')" diff --git a/version.scad b/version.scad index 2012abe..0861752 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,355]; +BOSL_VERSION = [2,0,356]; // Section: BOSL Library Version Functions