summaryrefslogtreecommitdiff
path: root/fml/libexec/loader.in
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-11-12 15:53:41 +0000
committerfukachan <fukachan>2001-11-12 15:53:41 +0000
commitc4e851f01bec78ac36f508687ad80cb80b1a75bd (patch)
tree43e328e0113c6885058e7b7e5042a3dc49fb21fa /fml/libexec/loader.in
parent07cd4daa17e08498c1971e683e07a2e57b2e10f6 (diff)
downloadfml8-c4e851f01bec78ac36f508687ad80cb80b1a75bd.tar.gz
fml8-c4e851f01bec78ac36f508687ad80cb80b1a75bd.tar.bz2
fml8-c4e851f01bec78ac36f508687ad80cb80b1a75bd.zip
consider *prefix of autoconf
Diffstat (limited to 'fml/libexec/loader.in')
-rwxr-xr-xfml/libexec/loader.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/fml/libexec/loader.in b/fml/libexec/loader.in
index e8733c38..7a17704c 100755
--- a/fml/libexec/loader.in
+++ b/fml/libexec/loader.in
@@ -4,7 +4,7 @@
# Copyright (C) 2000-2001 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: loader,v 1.20 2001/11/10 04:00:26 fukachan Exp $
+# $FML: loader.in,v 1.1 2001/11/12 13:26:01 fukachan Exp $
#
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
@@ -15,8 +15,12 @@ use strict;
use Carp;
# main configuration file for directory switch
-$ConfDir = '@sysconfdir@';
-$MainCF = "$ConfDir/main.cf";
+{
+ my $prefix = "@prefix@";
+ my $exec_prefix = "@exec_prefix@";
+ $ConfDir = "@sysconfdir@";
+ $MainCF = "$ConfDir/main.cf";
+}
eval q{ &Bootstrap();};
if ($@) { print STDERR "Error: ", $@, "\n"; exit 1;}