diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-10-06 16:47:29 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-10-06 16:47:29 -0400 |
commit | 83d569d4abda4e925581d433c5d8127e29358579 (patch) | |
tree | 474d7fb27a9a93a3b34069a38604badc0cf6254f | |
parent | af043921d728f6703763f544e63a1654bdabb591 (diff) |
split false into its own (trivial) repo
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .gitmodules | 4 | ||||
-rw-r--r-- | Makefile | 2 | ||||
m--------- | false | 0 | ||||
-rw-r--r-- | false.c | 9 |
5 files changed, 8 insertions, 8 deletions
@@ -6,7 +6,6 @@ alias bg cd command -false fc fg getopts diff --git a/.gitmodules b/.gitmodules index 5e4c016..425c331 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule "kill"] path = kill url = ../kill/ + +[submodule "false"] + path = false + url = ../false/ @@ -21,7 +21,7 @@ OBJECTS=alias.o bg.o builtins.o cd.o command.o false.o fc.o fg.o getopts.o \ unset.o \ interactive.o parse.o init.o getopt.o \ sh.tab.o sh.yy.o -BUILTINS=alias bg cd command false fc fg getopts jobs newgrp pwd read \ +BUILTINS=alias bg cd command fc fg getopts jobs newgrp pwd read \ true ulimit umask unalias wait all: $(UTILITY) $(L10N) $(BUILTINS) diff --git a/false b/false new file mode 160000 +Subproject 08e82e432d1c35c1a45a36406d8e11461958beb @@ -1,7 +1,7 @@ /* * UNG's Not GNU * - * Copyright (c) 2011-2017, Jakob Kaivo <jkk@ung.org> + * Copyright (c) 2011-2020, Jakob Kaivo <jkk@ung.org> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -17,8 +17,5 @@ * */ -int false_main(int argc, char *argv[]) -{ - (void)argc; (void)argv; - return 1; -} +#define main false_main +#include "false/false.c" |