Add a fallback to run lyx2lyx from the build directory

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18590 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2007-05-31 12:02:47 +00:00
parent 4cdd8f3428
commit 4f387b58a1

View File

@ -26,8 +26,11 @@ import sys
import re
import time
import lyx2lyx_version
version_lyx2lyx = lyx2lyx_version.version
try:
import lyx2lyx_version
version_lyx2lyx = lyx2lyx_version.version
except: # we are running from build directory so assume the last version
version_lyx2lyx = '1.5.0svn'
default_debug_level = 2