-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sh.in
executable file
·66 lines (62 loc) · 2.14 KB
/
config.sh.in
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# Substitute the Variables from the configure script in the perl scripts
#
# (c) 2001 Dr. Andreas Mueller, Beratung und Entwicklung
#
# $Id: config.sh.in,v 1.6 2002/02/19 23:40:04 afm Exp $
#
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libdir=@libdir@
openssldir=@OPENSSLDIR@
openscepdir=@OPENSCEPDIR@
htmldir=@HTMLDIR@
htmlinstalldir=@HTMLINSTALLDIR@
cgidir=@CGIDIR@
cgiinstalldir=@CGIINSTALLDIR@
version=@VERSION@
date=@DATE@
perl=@PERL@
caowner=@CAOWNER@
cagroup=@CAGROUP@
mv=@MV@
opensslcmd=@OPENSSLCMD@
ldapsearchcmd=@LDAPSEARCHCMD@
ldapmodifycmd=@LDAPMODIFYCMD@
BINDIR=`echo ${bindir} | sed -e 's/\\//\\\\\\//g'`
SBINDIR=`echo ${sbindir} | sed -e 's/\\//\\\\\\//g'`
LIBDIR=`echo ${libdir} | sed -e 's/\\//\\\\\\//g'`
OPENSSLDIR=`echo ${openssldir} | sed -e 's/\\//\\\\\\//g'`
OPENSCEPDIR=`echo ${openscepdir} | sed -e 's/\\//\\\\\\//g'`
HTMLDIR=`echo ${htmldir} | sed -e 's/\\//\\\\\\//g'`
HTMLINSTALLDIR=`echo ${htmlinstalldir} | sed -e 's/\\//\\\\\\//g'`
CGIDIR=`echo ${cgidir} | sed -e 's/\\//\\\\\\//g'`
CGIINSTALLDIR=`echo ${cgiinstalldir} | sed -e 's/\\//\\\\\\//g'`
PERL=`echo ${perl} | sed -e 's/\\//\\\\\\//g'`
MV=`echo ${mv} | sed -e 's/\\//\\\\\\//g'`
OPENSSLCMD=`echo ${opensslcmd} | sed -e 's/\\//\\\\\\//g'`
LDAPSEARCHCMD=`echo ${ldapsearchcmd} | sed -e 's/\\//\\\\\\//g'`
LDAPMODIFYCMD=`echo ${ldapmodifycmd} | sed -e 's/\\//\\\\\\//g'`
DATE="`${date} +%D|sed -e 's:/:\\\/:g'`"
sed -e 's/SBINDIR/'"${SBINDIR}"'/g' \
-e 's/BINDIR/'"${BINDIR}"'/g' \
-e 's/LIBDIR/'"${LIBDIR}"'/g' \
-e 's/OPENSSLDIR/'"${OPENSSLDIR}"'/g' \
-e 's/OPENSCEPDIR/'"${OPENSCEPDIR}"'/g' \
-e 's/HTMLDIR/'"${HTMLDIR}"'/g' \
-e 's/HTMLINSTALLDIR/'"${HTMLINSTALLDIR}"'/g' \
-e 's/CGIDIR/'"${CGIDIR}"'/g' \
-e 's/CGIINSTALLDIR/'"${CGIINSTALLDIR}"'/g' \
-e 's/VeRsIoN/'"${version}"'/g' \
-e 's/DaTe/'"${DATE}"'/g' \
-e 's/PERL/'"${PERL}"'/g' \
-e 's/CAOWNER/'"${caowner}"'/g' \
-e 's/CAGROUP/'"${cagroup}"'/g' \
-e 's/MV/'"${MV}"'/g' \
-e 's/OPENSSLCMD/'"${OPENSSLCMD}"'/g' \
-e 's/LDAPSEARCHCMD/'"${LDAPSEARCHCMD}"'/g' \
-e 's/LDAPMODIFYCMD/'"${LDAPMODIFYCMD}"'/g' \
"$@"
exit 0