Commit b46e91c2 authored by Michael Voelske's avatar Michael Voelske

don't set execute permission; git will take care of this now.

parent 7140d877
__pycache__
.idea
\ No newline at end of file
.idea
*~
\ No newline at end of file
......@@ -102,8 +102,6 @@ def check_subcommand_shebang(subcommandpath, allowed_scripts):
def run_subcommand(subcommand, subcommandpath, params=[]):
"""Runs subcommand passing params and returns its exit code."""
lDbg("Running " + subcommand + " at " + subcommandpath)
# FIXME: When the script is installed at /usr/lib, this won't work, anymore:
os.system("chmod +x {}".format(subcommandpath))
cmd = " ".join([subcommandpath] + params)
return_value = os.system(cmd)
if return_value == 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment