Project

General

Profile

1 8480 tao
#!/bin/bash
2
#A mamanger script to help the Metacat administrator to manage the users and groups
3
#in the AuthFile mechanism.
4
5 8549 tao
echo "This script should be run at the directory of /tomcat-webapps/your-context/WEB-INF/WEB-INF/scripts/bash/."
6
7 8480 tao
#variables
8 8490 tao
#BASE=../../../build/war
9
#BASE_LIB=$BASE/lib
10
BASE=../../../
11
BASE_LIB=$BASE/WEB-INF/lib
12 8480 tao
BASE_WEB_INF=$BASE/WEB-INF
13
14
#run the class
15 9202 tao
java -classpath "$BASE_LIB/*:" edu.ucsb.nceas.metacat.authentication.AuthFile $BASE_WEB_INF "$@"