mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 17:09:41 +00:00
fix initialization before BEGIN block
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ecdfc90a7a
commit
2365844d2e
@ -1,3 +1,6 @@
|
|||||||
|
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>
|
2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
* Makefile.am (pkgdata_DATA): Add symbols file.
|
* Makefile.am (pkgdata_DATA): Add symbols file.
|
||||||
|
@ -14,11 +14,13 @@ $^W = 1; # same as 'perl -w'
|
|||||||
use vars qw($lyxdir $lyxname);
|
use vars qw($lyxdir $lyxname);
|
||||||
|
|
||||||
my (@maybe_dir);
|
my (@maybe_dir);
|
||||||
my $mainscript = "reLyXmain.pl";
|
my $mainscript;
|
||||||
my $relyxdir;
|
my $relyxdir;
|
||||||
|
|
||||||
# Do this in a BEGIN block so it's done before the 'use lib' below
|
# Do this in a BEGIN block so it's done before the 'use lib' below
|
||||||
BEGIN{
|
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
|
# This points to LyX library dir, e.g. /usr/local/share/lyx
|
||||||
$lyxdir = "@LYX_DIR@";
|
$lyxdir = "@LYX_DIR@";
|
||||||
# This is just "." if you compiled from the source directory
|
# This is just "." if you compiled from the source directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user