From: asmodai Date: Mon, 5 Nov 2007 13:40:16 +0000 (+0000) Subject: Merged revisions 1045-1120 via svnmerge. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fautotools;p=OpenSRF.git Merged revisions 1045-1120 via svnmerge. git-svn-id: svn://svn.open-ils.org/OpenSRF/branches/autotools@1121 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/Makefile b/Makefile index e45075a..867173e 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,9 @@ install: jserver-install: source install.conf && make -s -C src jserver-install +javascript-install: + source install.conf && make -s -C src javascript-install + clean: make -s -C src clean diff --git a/bin/osrf_ctl.sh b/bin/osrf_ctl.sh index 8958204..6d65902 100755 --- a/bin/osrf_ctl.sh +++ b/bin/osrf_ctl.sh @@ -12,9 +12,17 @@ OPT_PID_DIR="" function usage { echo ""; - echo "usage: $0 -d -c -a "; + echo "usage: $0 [OPTION]... -c -a "; echo ""; - echo "Actions include:" + echo "Mandatory parameters:"; + echo -e " -a\t\taction to perform"; + echo -e " -c\t\tfull path to C configuration file (opensrf_core.xml)"; + echo ""; + echo "Optional parameters:"; + echo -e " -d\t\tstore PID files in this directory"; + echo -e " -l\t\taccept 'localhost' as the fully-qualified domain name"; + echo ""; + echo "Actions include:"; echo -e "\tstart_router" echo -e "\tstop_router" echo -e "\trestart_router" @@ -31,9 +39,10 @@ function usage { echo -e "\tstart_all" echo -e "\trestart_all" echo ""; - echo "Example:"; - echo " $0 -c opensrf_core.xml -a restart_all"; - echo ""; + echo "Examples:"; + echo " $0 -c opensrf_core.xml -a restart_all"; + echo " $0 -l -c opensrf_core.xml -a restart_all"; + echo ""; exit; } @@ -41,11 +50,12 @@ function usage { # --------------------------------------------------------------------------- # Load the command line options and set the global vars # --------------------------------------------------------------------------- -while getopts "c:a:d:h" flag; do +while getopts "c:a:d:lh" flag; do case $flag in "a") OPT_ACTION="$OPTARG";; "c") OPT_CONFIG="$OPTARG";; "d") OPT_PID_DIR="$OPTARG";; + "l") export OSRF_HOSTNAME="localhost";; "h"|*) usage;; esac; done diff --git a/examples/math_xul_client/math/content/math.xul b/examples/math_xul_client/math/content/math.xul index 1396a0b..d6a1371 100644 --- a/examples/math_xul_client/math/content/math.xul +++ b/examples/math_xul_client/math/content/math.xul @@ -16,7 +16,7 @@ -