cds: Fixed non-hyphenated command execution
authorJosef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Sat, 05 May 2007 15:20:40 -0400
changeset 42f306ba1edc36
parent 41 edeaaab85e32
child 43 7fc785a79615
cds: Fixed non-hyphenated command execution
cds
     1.1 --- a/cds	Thu Apr 19 15:34:33 2007 -0400
     1.2 +++ b/cds	Sat May 05 15:20:40 2007 -0400
     1.3 @@ -19,7 +19,7 @@
     1.4  }
     1.5  
     1.6  if [ `basename $0` = "cds" ]; then
     1.7 -	if [ $# -ne 1 ]; then
     1.8 +	if [ $# -ne 0 ]; then
     1.9  		#otherwise launch the intended client script
    1.10  		PROGNAME=cds-$1
    1.11  		PROG=$DIR/$PROGNAME