aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index c020c87..bcc45df 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -14,9 +14,9 @@ int main(int argc, char *argv[]) {
if (argv[1]) {
if (strcmp(argv[1], "build") == 0 || strcmp(argv[1], "b") == 0) {
if (argv[2]) {
- build_pkg(argv[2]);
+ build(argv[2]);
} else {
- build_pkg(fs::current_path().string());
+ build(fs::current_path().string().c_str());
}
} else if (strcmp(argv[1], "install") == 0 || strcmp(argv[1], "i") == 0) {
pkg = create_pkg(argv[2]);