From dee68c291b4d847cc3de3a7a73e595d40a0c7b6d Mon Sep 17 00:00:00 2001 From: Victor Popkov Date: Tue, 7 Sep 2021 15:05:05 +0300 Subject: [PATCH] Fix premake copying directory tree on Unix --- src/premake4.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/premake4.lua b/src/premake4.lua index 4b360343..ac91fd21 100644 --- a/src/premake4.lua +++ b/src/premake4.lua @@ -244,7 +244,7 @@ local copyDirTree = (function() local cmd_template if hostIsUnix() then - cmd_template = "cp -r %q %q" + cmd_template = 'cp -r "%s" "%s/.."' else cmd_template = 'xcopy /e /y "%s" "%s"' end