diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-01-30 20:55:43 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-01-30 20:55:43 +0100 |
commit | 665a2207f1de24bb9dffad2630d88157fa34e9e2 (patch) | |
tree | 73661fd5f418d9476ae8a5d79e7820c7e5c6a305 | |
parent | f2ba31f3380f1a6242fe5f665f6ae5d25141afe2 (diff) | |
download | blogc-665a2207f1de24bb9dffad2630d88157fa34e9e2.tar.gz blogc-665a2207f1de24bb9dffad2630d88157fa34e9e2.tar.bz2 blogc-665a2207f1de24bb9dffad2630d88157fa34e9e2.zip |
make-embedded: removed symlink support from blogc binary
embedded binary is supposed to be used on lambda, not to replace
blogc-make binary on common setups
-rw-r--r-- | src/blogc/main.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/blogc/main.c b/src/blogc/main.c index 1bdf2fe..e42a562 100644 --- a/src/blogc/main.c +++ b/src/blogc/main.c @@ -145,18 +145,13 @@ blogc_read_stdin_to_list(bc_slist_t *l) int main(int argc, char **argv) { -#ifdef MAKE_EMBEDDED - // this isn't going to work on windows, but -m can still be used there. - if (bc_str_ends_with(argv[0], "/blogc-make")) - return bm_main(argc, argv); - - bool embedded = false; -#endif - setlocale(LC_ALL, ""); int rv = 0; +#ifdef MAKE_EMBEDDED + bool embedded = false; +#endif bool debug = false; bool input_stdin = false; bool listing = false; |