From b19685550fabe96a616c80dcc2bc5903559e9248 Mon Sep 17 00:00:00 2001
From: echicken <>
Date: Tue, 18 Aug 2015 21:24:03 +0000
Subject: [PATCH] Quote zipfile and destination dir names - Windows-friendly.

---
 xtrn/ansiview/local.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xtrn/ansiview/local.js b/xtrn/ansiview/local.js
index 518ce301a8..f00335e6ef 100644
--- a/xtrn/ansiview/local.js
+++ b/xtrn/ansiview/local.js
@@ -48,7 +48,7 @@
 		if(typeof ext != "undefined" && ext.toLowerCase() == ".zip") {
 			var destDir = file.replace(ext, "");
 			if(!file_isdir(destDir))
-				system.exec(system.exec_dir + "unzip -o -qq '" + file + "' -d '" + destDir + "'");
+				system.exec(system.exec_dir + 'unzip -o -qq "' + file + '" -d "' + destDir + '"');
 			if(file_isdir(destDir))
 				this.path = destDir;
 		} else {
-- 
GitLab