Skip to content
Snippets Groups Projects
Commit 7f5655fe authored by Suru Dissanaike's avatar Suru Dissanaike
Browse files

added make install

parent c710de1f
Branches
Tags
No related merge requests found
...@@ -11,3 +11,6 @@ ubus-api-validator: ${OBJS} ...@@ -11,3 +11,6 @@ ubus-api-validator: ${OBJS}
clean: clean:
rm -f ubus-api-validator *.o rm -f ubus-api-validator *.o
install:
cp ubus-api-validator /usr/local/bin
...@@ -135,6 +135,7 @@ int main(int argc, char *argv[]) { ...@@ -135,6 +135,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE; return EXIT_FAILURE;
} }
} else if (global_args.path == NULL && global_args.dir_path == NULL) { } else if (global_args.path == NULL && global_args.dir_path == NULL) {
printf("trying default file... \n");
validate_path("./ubus.json"); validate_path("./ubus.json");
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment