]> git.lyx.org Git - lyx.git/blobdiff - lib/reLyX/reLyX.in
clean up french language handling
[lyx.git] / lib / reLyX / reLyX.in
index 846188a4a2f9dcd7b5685be9dc010899b8cf15bd..44a526de44f2f0202dbd725e9688c00fcfb1c193 100644 (file)
@@ -40,11 +40,13 @@ my $dir = &dirname($name);
 push @maybe_dir, "$dir";
 # case 2: ran make but not make install.
 push @maybe_dir, "$dir/$srcdir";
-# case 3: environment variable LYX_DIR_13x has been set
-if (exists $ENV{LYX_DIR_13x}) { push @maybe_dir, "$ENV{LYX_DIR_13x}/reLyX"};
+# case 3: environment variable LYX_DIR_14x has been set
+if (exists $ENV{LYX_DIR_14x}) { push @maybe_dir, "$ENV{LYX_DIR_14x}/reLyX"};
 # case 4: e.g., reLyX in /opt/bin, $mainscript in /opt/share/lyx/reLyX
 push @maybe_dir, "$dir/../share/$lyxname/reLyX"; # case 4
-# case 5: configure figured out where $mainscript is
+# case 5: LyX/Mac -- reLyX is in a MacOS X application bundle
+push @maybe_dir, "$dir/../Resources/LyX/reLyX"; # case 5
+# case 6: configure figured out where $mainscript is
 push @maybe_dir, "$lyxdir/reLyX";
 
 # Decide which one is the real directory, based on the existence of