From e99dfda0f30a97fc7824a745c427f80553b5b5ef Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Mon, 31 Aug 2026 18:01:51 +0200 Subject: fix: update paths --- config.lua.example | 2 +- src/repo.c | 2 +- testing/samurai/1.3.lua | 2 ++ 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" -- cgit v1.3