Project

General

Profile

« Previous | Next » 

Revision 8483

Added by Jing Tao almost 11 years ago

Add a double quotes at $@. This will make the any argument in the double quotes as one argument.

View differences:

src/scripts/bash/authFileManager.sh
19 19
JBCRYPT=$BASE_LIB/jbcrypt-0.3m.jar
20 20

  
21 21
#run the class
22
java -cp $METACAT:$XALAN:$COMMONS_CONFIG:$COMMONS_LOG:$COMMONS_LANG:$COMMONS_COLLECTION:$COMMONS_JXPATH:$LOG4J:$UTILITIES:$D1_COMMON:$JBCRYPT edu.ucsb.nceas.metacat.authentication.AuthFile $BASE_WEB_INF $@
22
java -cp $METACAT:$XALAN:$COMMONS_CONFIG:$COMMONS_LOG:$COMMONS_LANG:$COMMONS_COLLECTION:$COMMONS_JXPATH:$LOG4J:$UTILITIES:$D1_COMMON:$JBCRYPT edu.ucsb.nceas.metacat.authentication.AuthFile $BASE_WEB_INF "$@"

Also available in: Unified diff