Update unarchive
Modified argument order provided to unzip command as the -o was being interpreted as a file.
This commit is contained in:
parent
41e83d9df1
commit
d80eb4a7fd
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class _zipfile(object):
|
|||
return dict(bool = False)
|
||||
|
||||
def unarchive(self):
|
||||
cmd = 'unzip "%s" -d "%s" -o' % (self.src,self.dest)
|
||||
cmd = 'unzip -o "%s" -d "%s"' % (self.src,self.dest)
|
||||
rc, out, err = self.module.run_command(cmd)
|
||||
return dict(cmd = cmd, rc=rc, out=out, err=err)
|
||||
|
||||
|
|
Loading…
Reference in a new issue