From d80eb4a7fda8b18b09271d62aa8c378dea40a266 Mon Sep 17 00:00:00 2001 From: greenbrian Date: Mon, 25 Nov 2013 10:44:39 -0600 Subject: [PATCH] Update unarchive Modified argument order provided to unzip command as the -o was being interpreted as a file. --- library/files/unarchive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/files/unarchive b/library/files/unarchive index 86bb4d73767..d85ae3cc592 100644 --- a/library/files/unarchive +++ b/library/files/unarchive @@ -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)