make-ldif revision 1060
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#!/bin/sh
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# CDDL HEADER START
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# The contents of this file are subject to the terms of the
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# Common Development and Distribution License, Version 1.0 only
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# (the "License"). You may not use this file except in compliance
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# with the License.
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# You can obtain a copy of the license at
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# trunk/opends/resource/legal-notices/OpenDS.LICENSE
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# See the License for the specific language governing permissions
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# and limitations under the License.
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# When distributing Covered Code, include this CDDL HEADER in each
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# file and include the License file at
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# add the following below this CDDL HEADER, with the fields enclosed
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# by brackets "[]" replaced with your own identifying information:
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# Portions Copyright [yyyy] [name of copyright owner]
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# CDDL HEADER END
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina#
46d3d2c731e8c7e138462e5b60a39a279dc77d81Pavel Březina# Portions Copyright 2006-2007 Sun Microsystems, Inc.
46d3d2c731e8c7e138462e5b60a39a279dc77d81Pavel Březina
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina# This script may be used to generate LDIF data based on a provided template.
f8c829e72968b574e1c9bda96f4d5f206622358fPavel BřezinaOPENDS_INVOKE_CLASS="org.opends.server.tools.makeldif.MakeLDIF"
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaexport OPENDS_INVOKE_CLASS
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina
f8c829e72968b574e1c9bda96f4d5f206622358fPavel BřezinaSCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=make-ldif"
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaexport SCRIPT_NAME_ARG
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina
f8c829e72968b574e1c9bda96f4d5f206622358fPavel BřezinaSCRIPT_DIR=`dirname "${0}"`
968e2bc3bb28458b25c3b19868ea50f0325d8b0aPavel Březina"${SCRIPT_DIR}/_server-script.sh" \
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina --resourcePath "${SCRIPT_DIR}/../config/MakeLDIF" "${@}"
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina