about summary refs log tree commit diff stats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index e08c861..92d7f50 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -6,8 +6,8 @@ project("Pong")
         trigger = "install",
         description = "Install the game to prefix.",
         execute = function()
-            os.executef("mkdir -p %s/Pong/resources", prefix)
-            os.executef("cp -v resources/* %s/Pong/resources/", prefix)
+	    os.mkdir(string.format("%s/Pong/resources", prefix))
+	    os.executef("cp -r resources/* %s/Pong/resources/", prefix)
             os.executef("install -m755 bin/*/Pong %s/Pong/pong", prefix)
             os.exit(0)
         end