diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-07-07 08:57:22 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-07-07 08:57:22 -0400 |
commit | 4a853c6e719be4c16591bd947bd9cde40e6b9813 (patch) | |
tree | 13d4d86ddfd7024e7c24841a3fc32046c7a4b46f /grs | |
parent | grs/Interpret.py: fix typo. (diff) | |
download | grss-4a853c6e719be4c16591bd947bd9cde40e6b9813.tar.gz grss-4a853c6e719be4c16591bd947bd9cde40e6b9813.tar.bz2 grss-4a853c6e719be4c16591bd947bd9cde40e6b9813.zip |
grs/RunScript.py: remove .sh from script since either python or bash will do.
Diffstat (limited to 'grs')
-rw-r--r-- | grs/RunScript.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grs/RunScript.py b/grs/RunScript.py index a80f342..b49f4f1 100644 --- a/grs/RunScript.py +++ b/grs/RunScript.py @@ -20,9 +20,9 @@ class RunScript(): def runscript(self, script_name): script_org = os.path.join(self.libdir, 'scripts/%s' % script_name) - script_dst = os.path.join(self.portage_configroot, 'tmp/script.sh') + script_dst = os.path.join(self.portage_configroot, 'tmp/script') shutil.copy(script_org, script_dst) os.chmod(script_dst, 0o0755) - cmd = 'chroot %s /tmp/script.sh' % self.portage_configroot + cmd = 'chroot %s /tmp/script' % self.portage_configroot Execute(cmd, timeout=None, logfile=self.logfile) os.unlink(script_dst) |