diff options
| author | Rich Megginson <rmeggins@redhat.com> | 2007-08-02 14:39:01 +0000 |
|---|---|---|
| committer | Rich Megginson <rmeggins@redhat.com> | 2007-08-02 14:39:01 +0000 |
| commit | d7531c68d34d83c17c0d1996fec6d6a0ebfc0e4b (patch) | |
| tree | d9dc41736d47540967b5523a96d6a0eed9f6b379 /ldap/admin/src/scripts/setup-ds.pl.in | |
| parent | 2ebeaf1fbbba60e8ed0040bb904c1bb858a876c3 (diff) | |
| download | ds-d7531c68d34d83c17c0d1996fec6d6a0ebfc0e4b.tar.gz ds-d7531c68d34d83c17c0d1996fec6d6a0ebfc0e4b.tar.xz ds-d7531c68d34d83c17c0d1996fec6d6a0ebfc0e4b.zip | |
Resolves: bug 250535
Bug Description: improve perldap script execution ability on bundled platforms
Reviewed by: nkinder (Thanks!)
Fix Description: Most platforms will just use perl from PATH. However, on Solaris and HP-UX, we have to use special 64 bit versions to execute perldap, since perldap is 64 bit on those platforms. Also, if bundling all of the dependent components into the single package, we need to make sure the perl library path is set correctly to find perldap.
The last step will be to build our version of perldap on the bundled platforms to use rpath to point to the correct runtime library location.
Platforms tested: RHEL4, HP-UX 11.23 IPF 64 bit
Flag Day: no
Doc impact: no
Diffstat (limited to 'ldap/admin/src/scripts/setup-ds.pl.in')
| -rw-r--r-- | ldap/admin/src/scripts/setup-ds.pl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/admin/src/scripts/setup-ds.pl.in b/ldap/admin/src/scripts/setup-ds.pl.in index 32cb0c34..7fdc9772 100644 --- a/ldap/admin/src/scripts/setup-ds.pl.in +++ b/ldap/admin/src/scripts/setup-ds.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 @@ -37,7 +37,7 @@ # END COPYRIGHT BLOCK # -use lib '@perldir@'; +use lib qw(@perlpath@); use strict; |
