[Checkins] SVN: zopyx.convert2/trunk/src/zopyx/convert2/xinc.py fixes for xinc

Andreas Jung andreas at andreas-jung.com
Sat Oct 4 04:51:22 EDT 2008


Log message for revision 91728:
  fixes for xinc
  

Changed:
  U   zopyx.convert2/trunk/src/zopyx/convert2/xinc.py

-=-
Modified: zopyx.convert2/trunk/src/zopyx/convert2/xinc.py
===================================================================
--- zopyx.convert2/trunk/src/zopyx/convert2/xinc.py	2008-10-04 07:03:51 UTC (rev 91727)
+++ zopyx.convert2/trunk/src/zopyx/convert2/xinc.py	2008-10-04 08:51:21 UTC (rev 91728)
@@ -20,7 +20,7 @@
     if not checkEnvironment('XINC_HOME'):
         return False
 
-    exe_name = win32 and 'xinc.exe' or 'xinc'
+    exe_name = win32 and '\\bin\\windows\\xinc.exe' or 'bin/unix/xinc'
     full_exe_name = os.path.join(xinc_home, exe_name)
     if not os.path.exists(full_exe_name):
         LOG.debug('%s does not exist' % full_exe_name)
@@ -38,7 +38,7 @@
         raise RuntimeError("The external XINC converter isn't available")
 
     if sys.platform == 'win32':
-        cmd = '%s\\xinc.exe -fo "%s" -pdf "%s"' % (xinc_home, fo_filename, output_filename)
+        cmd = '%s\\bin\\windows\\xinc.exe -fo "%s" -pdf "%s"' % (xinc_home, fo_filename, output_filename)
     else:
         cmd = '"%s/bin/unix/xinc" -fo "%s" -pdf "%s"' % (xinc_home, fo_filename, output_filename)
     status, output = runcmd(cmd)



More information about the Checkins mailing list