]> git.lyx.org Git - features.git/commitdiff
Scons: fix cygwin postinstall/lyx.sh installation problem
authorBo Peng <bpeng@lyx.org>
Thu, 5 Oct 2006 02:58:13 +0000 (02:58 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 5 Oct 2006 02:58:13 +0000 (02:58 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15250 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 7b4b21a7c9806fd9c8f9229f25e081daaa52390a..8abb0239334b5d587c97da9c0b0d9f0b6addd211 100644 (file)
@@ -2281,9 +2281,9 @@ if 'install' in targets:
         Alias('install', Cygwin_fonts)
         # we also need a post installation script
         tmp_script = utils.installCygwinPostinstallScript('/tmp')
-        postinstall_script = os.path.join(dest_dir, 'etc', 'postinstall', 'lyx.sh')
-        env.Install(postinstall_script, tmp_script)
-        Alias('install', postinstall_script)
+        postinstall_path = os.path.join(dest_dir, 'etc', 'postinstall')
+        env.Install(postinstall_path, tmp_script)
+        Alias('install', postinstall_path)
 
     # subst and install lyx2lyx_version.py which is not in scons_manifest.py
     env.Depends(share_dest_dir + '/lyx2lyx/lyx2lyx_version.py', '$BUILDDIR/common/config.h')