+2001-09-03 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
+ * reLyX/reLyX.in: fix initialization before BEGIN block.
+
2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
* Makefile.am (pkgdata_DATA): Add symbols file.
use vars qw($lyxdir $lyxname);
my (@maybe_dir);
-my $mainscript = "reLyXmain.pl";
+my $mainscript;
my $relyxdir;
# Do this in a BEGIN block so it's done before the 'use lib' below
BEGIN{
+# Variables may not be assigned before the BEGIN block
+$mainscript = "reLyXmain.pl";
# This points to LyX library dir, e.g. /usr/local/share/lyx
$lyxdir = "@LYX_DIR@";
# This is just "." if you compiled from the source directory