diff options
author | Nathan Kinder <nkinder@redhat.com> | 2008-12-12 20:36:00 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2008-12-12 20:36:00 +0000 |
commit | 1d4ca4f33e9297c44c6f7d140efcd6c44d9092b0 (patch) | |
tree | c18de6d1c6debf084bffd99ba7d7f0b3f0efebe9 | |
parent | 2e5517e279e97b50ae6465e221ea4ae364c168b2 (diff) | |
download | ds-1d4ca4f33e9297c44c6f7d140efcd6c44d9092b0.tar.gz ds-1d4ca4f33e9297c44c6f7d140efcd6c44d9092b0.tar.xz ds-1d4ca4f33e9297c44c6f7d140efcd6c44d9092b0.zip |
Resolves: 250535
Summary: Make repl-monitor.pl a template to pass in correct perl environment.
-rwxr-xr-x | ldap/admin/src/scripts/repl-monitor.pl.in (renamed from ldap/admin/src/scripts/repl-monitor.pl) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ldap/admin/src/scripts/repl-monitor.pl b/ldap/admin/src/scripts/repl-monitor.pl.in index f5709e91..4ae9bf4b 100755 --- a/ldap/admin/src/scripts/repl-monitor.pl +++ b/ldap/admin/src/scripts/repl-monitor.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!@perlexec@ # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software @@ -156,6 +156,8 @@ # If using this script standalone, be sure to set the shared lib path and # the path to the perldap modules. +use lib qw(@perlpath@); + $usage = "\nusage: $0 -f configuration-file [-h host] [-p port] [-r] [-u refresh-url] [-t refresh-interval]\n\nor : $0 -v\n"; use Getopt::Std; # parse command line arguments |