[modules] fix mkdir for 'opt/mhwd'
This commit is contained in:
parent
e797bb0dc5
commit
bba3ce09cd
@ -76,7 +76,7 @@ class MhwdController:
|
||||
subprocess.call(["rm", "-Rf", join(self.root, dir)])
|
||||
|
||||
def mkdir(self, dir):
|
||||
subprocess.call(["mkdir", "-p", "/" + mp, join(self.root, dir)])
|
||||
subprocess.call(["mkdir", "-p", join(self.root, dir)])
|
||||
|
||||
def configure(self, name, id):
|
||||
cmd = ["mhwd", "-a", str(name), str(self.driver), str(id).zfill(4)]
|
||||
|
@ -72,7 +72,7 @@ class ConfigController:
|
||||
subprocess.call(["rm", "-Rf", join(self.root, dir)])
|
||||
|
||||
def mkdir(self, dir):
|
||||
subprocess.call(["mkdir", "-p", "/" + mp, join(self.root, dir)])
|
||||
subprocess.call(["mkdir", "-p", join(self.root, dir)])
|
||||
|
||||
def run(self):
|
||||
self.init_keyring()
|
||||
|
Loading…
Reference in New Issue
Block a user