diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2006-10-27 16:45:18 +0000 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2006-10-27 16:45:18 +0000 |
| commit | d7e0e0f62625c990e6d15d9da0bd9f2759979ef1 (patch) | |
| tree | 65c6cc88fd35ad9757b8b3cb287e79c21e2a6ccc /ldap/admin/src/scripts/template-suffix2instance | |
| parent | fd813581526d7f446e0f105a1aafb91f23304676 (diff) | |
| download | ds-d7e0e0f62625c990e6d15d9da0bd9f2759979ef1.tar.gz ds-d7e0e0f62625c990e6d15d9da0bd9f2759979ef1.tar.xz ds-d7e0e0f62625c990e6d15d9da0bd9f2759979ef1.zip | |
Resolves: #212098
Summary: Use autoconf to generate task perl script templates
Comment #10, #11, #14
Note: This is a generated file by autoconf. Checking this file in to support
the old style build. When migrating to the autotoolized build is completed,
this file is supposed to be removed from CVS.
Diffstat (limited to 'ldap/admin/src/scripts/template-suffix2instance')
| -rw-r--r-- | ldap/admin/src/scripts/template-suffix2instance | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ldap/admin/src/scripts/template-suffix2instance b/ldap/admin/src/scripts/template-suffix2instance new file mode 100644 index 00000000..f3642468 --- /dev/null +++ b/ldap/admin/src/scripts/template-suffix2instance @@ -0,0 +1,16 @@ +#!/bin/sh + +prefix="{{DS-ROOT}}" +LD_LIBRARY_PATH=$prefix/usr/lib/dirsec:$prefix/usr/lib:/usr/lib/dirsec +export LD_LIBRARY_PATH +SHLIB_PATH=$prefix/usr/lib/dirsec:$prefix/usr/lib:/usr/lib/dirsec +export SHLIB_PATH + +cd {{SERVER-DIR}} +if [ $# -lt 2 ] +then + echo Usage: suffix2instance {-s includesuffix}* + exit 1 +fi + +./ns-slapd suffix2instance -D {{CONFIG-DIR}} "$@" 2>&1 |
