Skip to content

Commit

Permalink
Update binary permissions on linux
Browse files Browse the repository at this point in the history
Closes #68
  • Loading branch information
weslly committed Mar 8, 2015
1 parent c2857bc commit c6bda2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sublimecp.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def run(self, edit):


def plugin_loaded():
if sublime.platform() == 'osx':
if sublime.platform() == 'osx' or sublime.platform() == 'linux':
binfile = os.path.join(sublime.packages_path(), binpath)
if not os.access(binfile, os.X_OK):
os.chmod(binfile, 0o755)
Expand Down

0 comments on commit c6bda2a

Please sign in to comment.