aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.lua.example2
-rw-r--r--src/repo.c2
-rw-r--r--testing/samurai/1.3.lua2
3 files changed, 4 insertions, 2 deletions
diff --git a/config.lua.example b/config.lua.example
index 441f6d8..735c404 100644
--- a/config.lua.example
+++ b/config.lua.example
@@ -2,7 +2,7 @@ local config = {}
config.repos = {
{
- path = "../testing",
+ path = "./testing",
},
}
diff --git a/src/repo.c b/src/repo.c
index 8d16320..49d815d 100644
--- a/src/repo.c
+++ b/src/repo.c
@@ -51,7 +51,7 @@ int repo_check_package(pow_repo **repos, size_t repo_count, const char *query) {
pow_package *pkg = malloc(sizeof(pow_package));
- package_open(pkg, "../testing/samurai/1.3.lua");
+ package_open(pkg, "./testing/samurai/1.3.lua");
printf("Name: %s\n"
"Version: %s\n",
diff --git a/testing/samurai/1.3.lua b/testing/samurai/1.3.lua
index 8da795d..c836268 100644
--- a/testing/samurai/1.3.lua
+++ b/testing/samurai/1.3.lua
@@ -1,5 +1,7 @@
local package = {}
+local lfs = require("lfs")
+
package.name = "samurai"
package.version = "1.3"
package.description = "ninja compatible build tool written in C"