xref: /Lucene/lucene/distribution/src/binary-release/bin/luke.sh (revision d973e50c15cf299deaece241a84afe4934de8c07)
1*d973e50cSUwe Schindler#!/bin/sh
2627ef4d4SDawid Weiss
3627ef4d4SDawid Weiss#  Licensed to the Apache Software Foundation (ASF) under one or more
4627ef4d4SDawid Weiss#  contributor license agreements.  See the NOTICE file distributed with
5627ef4d4SDawid Weiss#  this work for additional information regarding copyright ownership.
6627ef4d4SDawid Weiss#  The ASF licenses this file to You under the Apache License, Version 2.0
7627ef4d4SDawid Weiss#  the "License"); you may not use this file except in compliance with
8627ef4d4SDawid Weiss#  the License.  You may obtain a copy of the License at
9627ef4d4SDawid Weiss#
10627ef4d4SDawid Weiss#      http://www.apache.org/licenses/LICENSE-2.0
11627ef4d4SDawid Weiss#
12627ef4d4SDawid Weiss#  Unless required by applicable law or agreed to in writing, software
13627ef4d4SDawid Weiss#  distributed under the License is distributed on an "AS IS" BASIS,
14627ef4d4SDawid Weiss#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15627ef4d4SDawid Weiss#  See the License for the specific language governing permissions and
16627ef4d4SDawid Weiss#  limitations under the License.
17627ef4d4SDawid Weiss
18*d973e50cSUwe SchindlerMODULES=`dirname "$0"`/..
19*d973e50cSUwe SchindlerMODULES=`cd "$MODULES" && pwd`
20*d973e50cSUwe Schindlerjava --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --add-modules org.apache.logging.log4j --module lucene.luke
21