-C DIR after `base`: DIR from base, an absolute (anchored) DIR alone. */
| 1881 | |
| 1882 | /* -C DIR after `base`: DIR from base, an absolute (anchored) DIR alone. */ |
| 1883 | static const char *sh_make_join(CBMArena *a, const char *base, const char *dir) { |
| 1884 | if (dir[0] == SH_ANCHOR || dir[0] == '/' || sh_eq(base, ".")) { |
| 1885 | return dir; |
| 1886 | } |
| 1887 | return cbm_arena_sprintf(a, "%s/%s", base, dir); |
| 1888 | } |
| 1889 | |
| 1890 | /* The makefile make reads in directory `dir` (GNUmakefile, makefile, |
| 1891 | * Makefile, the first there is), for the one candidate of `dir` that has |
no test coverage detected