diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-10-06 16:50:25 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-10-06 16:50:25 -0400 |
commit | 2c55c7f99803bbb7fd490ba96bec7a4a24f68fe6 (patch) | |
tree | 19afbbd22d645f1c1f687461e5d38a0ff87363c8 | |
parent | 83d569d4abda4e925581d433c5d8127e29358579 (diff) |
split true into its own (trivial) repo
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | Makefile | 2 | ||||
m--------- | true | 0 | ||||
-rw-r--r-- | true.c | 7 |
5 files changed, 6 insertions, 7 deletions
@@ -14,7 +14,6 @@ newgrp pwd read sh -true ulimit umask unalias diff --git a/.gitmodules b/.gitmodules index 425c331..9fad81f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,3 +5,6 @@ [submodule "false"] path = false url = ../false/ +[submodule "true"] + path = true + url = ../true/ @@ -22,7 +22,7 @@ OBJECTS=alias.o bg.o builtins.o cd.o command.o false.o fc.o fg.o getopts.o \ interactive.o parse.o init.o getopt.o \ sh.tab.o sh.yy.o BUILTINS=alias bg cd command fc fg getopts jobs newgrp pwd read \ - true ulimit umask unalias wait + ulimit umask unalias wait all: $(UTILITY) $(L10N) $(BUILTINS) diff --git a/true b/true new file mode 160000 +Subproject 5970d06b2c1bdc9da65d890ab9e5f95aaae1152 @@ -17,8 +17,5 @@ * */ -int true_main(int argc, char *argv[]) -{ - (void)argc; (void)argv; - return 0; -} +#define main true_main +#include "true/true.c" |