[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which variable expands to /var?
From: |
Ralf Wildenhues |
Subject: |
Re: Which variable expands to /var? |
Date: |
Fri, 8 Feb 2008 08:13:04 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Oops, let's fix typos here:
* Ralf Wildenhues wrote on Fri, Feb 08, 2008 at 08:08:25AM CET:
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=var \
> --sharedstatedir=/var
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--sharedstatedir=/var
> or
>
> cat >path/to/config.site <<EOF
> # Change to FHS defaults if installing below /usr, and the
> # respective other settings have not been changed on the command line.
> if test "$prefix" = /usr; then
> test "$sysconfdir" = '$prefix/etc' && localstatedir=/etc
> test "$sharedstatedir" = '$prefix/com' && sharedstatedir=/var
> test "$localstatedir" = '$prefix/var' && localstatedir=/var
> fi
> EOF
cat >path/to/config.site <<EOF
# Change to FHS defaults if installing below /usr, and the
# respective other settings have not been changed on the command line.
if test "$prefix" = /usr; then
test "$sysconfdir" = '${prefix}/etc' && localstatedir=/etc
test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
test "$localstatedir" = '${prefix}/var' && localstatedir=/var
fi
EOF
Sorry about that. The example in the manual needs fixing, too (as
that's where I copied the latter from).
Cheers,
Ralf
- Re: Which variable expands to /var?, (continued)
- Re: Which variable expands to /var?, Bernd Jendrissek, 2008/02/07
- Re: Which variable expands to /var?, Jules Colding, 2008/02/07
- Re: Which variable expands to /var?, Eric Blake, 2008/02/07
- Re: Which variable expands to /var?, Jules Colding, 2008/02/07
- Re: Which variable expands to /var?, Bernd Jendrissek, 2008/02/07
- Re: Which variable expands to /var?, Paul Smith, 2008/02/07
- Re: Which variable expands to /var?, Keith Marshall, 2008/02/07
- Re: Which variable expands to /var?, Eric Blake, 2008/02/07
- Re: Which variable expands to /var?, Brian Dessent, 2008/02/07
- Re: Which variable expands to /var?, Ralf Wildenhues, 2008/02/08
- Re: Which variable expands to /var?,
Ralf Wildenhues <=
- Re: Which variable expands to /var?, Eric Blake, 2008/02/08
- Re: Which variable expands to /var?, Ralf Wildenhues, 2008/02/08
- Re: Which variable expands to /var?, Eric Blake, 2008/02/08
- Re: Which variable expands to /var?, Bob Friesenhahn, 2008/02/08
- Re: Which variable expands to /var?, Ralf Wildenhues, 2008/02/08
- Re: Which variable expands to /var?, Bob Friesenhahn, 2008/02/08
- Re: Which variable expands to /var?, Ralf Wildenhues, 2008/02/07
- Re: Which variable expands to /var?, Bob Friesenhahn, 2008/02/07