diff options
author | Charadon <dev@iotib.net> | 2022-06-08 08:26:31 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-08 08:26:31 -0400 |
commit | fa2a4d7f672e34b360687243ce549187bfce2e12 (patch) | |
tree | 0b3ae43dcf018578db4333164a0138e7802c6a54 /premake5.lua | |
parent | 0855555e38a3ff6c702cd69cb760f2f2bb0912dd (diff) | |
download | Pong-C-fa2a4d7f672e34b360687243ce549187bfce2e12.tar.gz |
Fixed some more portability stuff.
Diffstat (limited to 'premake5.lua')
-rw-r--r-- | premake5.lua | 4 |
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 |