version number (was: Re: r112 - trunk)
Peter Palfrader
peter@palfrader.org
Thu, 25 Mar 2004 08:21:39 +0100
--rJwd6BRFiFCcLxzm
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, 24 Mar 2004, Joost van Baal wrote:
> my $systconfig =3D /etc/cabot/rc';
> if (-f $systconfig) {
> unless (scalar eval `cat $systconfig`) {
> die "Couldn't parse $systconfig: $EVAL_ERROR\n" if $EVAL_ERROR
> };
> };
>=20
> to the top of our example cabotrc? This would enable splitting off
> systemwide config from the per-user configuration.
Sure, works for me.
>=20
> Furthermore, the system-wide /etc/cabot/rc could have the tarball's
> version number in it.
Having the version in a conffile? Please no. Probably putting it in
Cabot.pm would be the right thing, possibly with moving Cabot.pm to
Cabot.pm.{in,am,ac,whatever} and letting auto* replace a @@VERSION@@.
Peter
--=20
PGP signed and encrypted | .''`. ** Debian GNU/Linux **
messages preferred. | : :' : The universal
| `. `' Operating System
http://www.palfrader.org/ | `- http://www.debian.org/
--rJwd6BRFiFCcLxzm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAYoiCz/ccs6+kS90RAu2dAJ48kHeKUR1EU9VZlUT1LqViwdGoYgCfbr6k
5//qOdrs+laLpilL9FF4b+Q=
=YTP8
-----END PGP SIGNATURE-----
--rJwd6BRFiFCcLxzm--