thomas: server install-kolab.sh,1.13,1.14

cvs at kolab.org cvs at kolab.org
Thu Oct 25 18:24:20 CEST 2007


Author: thomas

Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv12829

Modified Files:
	install-kolab.sh 
Log Message:
install-kolab.sh: print usage on unknown options. Return 0 on -h (help).


Index: install-kolab.sh
===================================================================
RCS file: /kolabrepository/server/install-kolab.sh,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- install-kolab.sh	25 Oct 2007 16:13:45 -0000	1.13
+++ install-kolab.sh	25 Oct 2007 16:24:18 -0000	1.14
@@ -62,13 +62,13 @@
 	echo 
 	echo "  -B         (abort after generating the basic openpkg binary)"
 	echo "  -E         (abort after generating the openpkg environment)"
-	exit 1
 }
 
 while getopts hcBDSEFHi:V:p:I:u:t: ARGS; do
    case $ARGS in
       h) # Display help
          usage
+         exit 0
          ;;
       i) # What should be installed?
          INSTALL="$OPTARG"
@@ -110,7 +110,9 @@
          FLAG_SDIST="Yes"
          ;;
       *) # Unknown Option
-         
+         echo
+         usage
+         exit 1
          ;;
    esac
 done





More information about the commits mailing list