Changeset 1372


Ignore:
Timestamp:
Oct 29, 2011, 4:16:17 PM (6 years ago)
Author:
joerg
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/de/endrullis/utils/ProgramUpdater.java

    r1371 r1372  
    260260    if(SystemUtils.isLinuxOS() || SystemUtils.isMacOS()) {
    261261      try {
    262         ProcessUtil.exec(new String[] {"chmod", "uog+x", new File(updateDir, "jlatexeditor").getAbsolutePath()}, null);
    263       } catch(Throwable ignored) { }
    264     }
    265 
    266     System.err.println(updateDir);
     262        ProcessUtil.exec(new String[] {"chmod", "uog+x", new File(updateDir, "jlatexeditor").getAbsolutePath()}, updateDir);
     263      } catch(Throwable ignored) {
     264        ignored.printStackTrace();
     265      }
     266    }
    267267
    268268    // move files in update dir to .
Note: See TracChangeset for help on using the changeset viewer.