diff --git a/Scripts/developer_scripts/Bundle_polyhedron_demo_with_appimage.sh b/Scripts/developer_scripts/Bundle_polyhedron_demo_with_appimage.sh index 815ca57f302..dde1f1a2773 100644 --- a/Scripts/developer_scripts/Bundle_polyhedron_demo_with_appimage.sh +++ b/Scripts/developer_scripts/Bundle_polyhedron_demo_with_appimage.sh @@ -1,5 +1,5 @@ #!/bin/bash -if [ "$1" == '--help' ]; then +if [ "$1" == '--help' -o ! -d "$1" -o ! -d "$2" ]; then echo "Usage: $0 " echo "Builds and packages the Polyhedron demo form the CGAL dir." exit 0