X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=scripts%2Fcommit_solr.sh;h=df587ab52277bd53230b974cbf17c902f9f75d4f;hb=6e3fc4ad6f1e4708e5f95e923900d724a471a74f;hp=6e3dff280a23b673aff6fc3c1c8f1de2e541cc4c;hpb=38f036207b1ba4c7fa92ddc94c7d60ee82a507b6;p=lui-solr.git diff --git a/scripts/commit_solr.sh b/scripts/commit_solr.sh index 6e3dff2..df587ab 100644 --- a/scripts/commit_solr.sh +++ b/scripts/commit_solr.sh @@ -5,13 +5,13 @@ if [ "$2" != "" ] ; then HOST_PORT="$2" fi -PATH=solr4 +SOLR_PATH=solr4 if [ "$2" != "" ] ; then - PATH="$2" + SOLR_PATH="$2" fi if [ "$1" == "-h" ] ; then - echo "$0 [[HOST:PORT] PATH] (default $HOST_PORT/$PATH)" + echo "$0 [[HOST:PORT] SOLR_PATH] (default $HOST_PORT/$SOLR_PATH)" fi -curl http://$HOST:$PORT/$PATH/update -H "Content-Type: text/xml" --data-binary '' \ No newline at end of file +curl http://$HOST:$PORT/$SOLR_PATH/update -H "Content-Type: text/xml" --data-binary '' \ No newline at end of file