From 74a2bf4369cde4fcffd6dacb70682bd467ad0805 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. --- files/unarchive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/unarchive b/files/unarchive index 86bb4d73767..d85ae3cc592 100644 --- a/files/unarchive +++ b/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)