Fix the script cgal_create_cmake_script:

- one can use it with 0 or 1 argument.
  - If one argument is used, it *must* be "-q" and nothing else.
This commit is contained in:
Laurent Rineau 2008-06-13 08:44:43 +00:00
parent aecb9992cd
commit d454027d30
1 changed files with 4 additions and 2 deletions

View File

@ -130,7 +130,9 @@ usage()
case $# in
0) usage
0) ;;
1) ;;
*) usage
exit 1
esac
@ -138,7 +140,7 @@ esac
for i do
case $i in
-q) QT='y';;
-*) usage
*) usage
exit 1;;
esac
done