Annotation of OpenXM/src/asir-port/cgi/cgi-asir-r-fd2.sh, Revision 1.2
1.1 takayama 1: #!/bin/bash
1.2 ! takayama 2: # $OpenXM: OpenXM/src/asir-port/cgi/cgi-asir-r-fd2.sh,v 1.1 2014/08/31 07:53:57 takayama Exp $
! 3: ## Replace $OpenXM_HOME by an absolute path of your cite and uncomment
! 4: #export OpenXM_HOME=/private/taka/OpenXM
1.1 takayama 5: export HOME=/tmp
6: ## Note that OpenXM_tmp is set in the dot.bashrc below as HOME/.OpenXM_tmp
7: source $OpenXM_HOME/rc/dot.bashrc
8: #source /home/taka/OpenXM/rc/dot.bashrc
9: export TMP=/tmp
10: export CGI_ASIR_ALLOW="[(version) (asir_contrib_copyright) (r_ahvec)]"
11: export CGI_ASIR_TLIMIT="60"
12: export OX_ASIR_LOAD_FILE=$OpenXM_HOME/src/asir-port/cgi/r-fd.rr
1.2 ! takayama 13: WFILE=$TMP/tmp2-post-$$.txt
! 14: tee /tmp/t2.txt | oxdecode_post >${WFILE}
! 15: $OpenXM_HOME/src/asir-port/cgi/webasir2 --settimer ${CGI_ASIR_TLIMIT} --debug 0 --stdin <${WFILE}
1.1 takayama 16: rm -f ${WFILE}
17: exit 0
18:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>