1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
package Globus::Core::Paths;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw($prefix $exec_prefix
$bindir $sbindir $libdir
$includedir $flavorincludedir
$datadir $libexecdir
$sysconfdir $sharedstatedir
$localstatedir
$setupdir $testdir
$perlmoduledir
$tmpdir
$local_tmpdir
$secure_tmpdir);
my $PACKAGE = "\$PACKAGE";
my $GLOBUS_FLAVOR_NAME = "\$GLOBUS_FLAVOR_NAME";
$prefix=$ENV{GLOBUS_LOCATION};
$prefix="/usr" if (!defined $prefix);
$exec_prefix=$ENV{GLOBUS_LOCATION};
$exec_prefix="/usr" if (!defined $exec_prefix);
$bindir="@bindir@";
$sbindir="@sbindir@";
$libdir="@libdir@";
$includedir="@includedir@";
$flavorincludedir="@flavorincludedir@";
$datadir="@datadir@";
$libexecdir="@libexecdir@";
$sysconfdir="@sysconfdir@";
$sharedstatedir="@sharedstatedir@";
$localstatedir="@localstatedir@";
$setupdir="@setupdir@";
$testdir="@testdir@";
$perlmoduledir="@perlmoduledir@";
$tmpdir="@tmpdir@";
$local_tmpdir="@local_tmpdir@";
$secure_tmpdir="@secure_tmpdir@";
1;
|