Fix following merge with master branch

This commit is contained in:
Alexandre Aubin 2019-03-02 04:48:07 +01:00
parent 61d63b0dff
commit bc45a6e327

View file

@ -459,8 +459,8 @@ class Script():
check_deprecated_practices(self)
current_dir=os.getcwd()
os.chdir(app_path + "/scripts/")
check_shellcheck(script_name)
os.chdir(os.path.dirname(self.path))
check_shellcheck(self.name)
os.chdir(current_dir)