Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2017-07-29 22:02:07 +0300
committerBryan Drewery <bryan@shatow.net>2017-07-31 20:00:09 +0300
commitf6b85702ad09b0c36fafcb84d13b39173031da19 (patch)
tree7f8852e68b0d43311a50ea18fd1a913e2ca23517 /Makefile.am
parent4a38af344703498999dbebfb4f6312f4ec0eca1b (diff)
sh: Add unlink(2) builtin and use for simple file removals
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 686d32a9..98b3a4a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -127,6 +127,7 @@ pkglibexec_PROGRAMS= \
timeout \
timestamp \
tsort \
+ unlink \
@SH@
EXTRA_PROGRAMS= \
rm \
@@ -155,6 +156,7 @@ rm_SOURCES= src/libexec/poudriere/rm/rm.c
timeout_SOURCES= src/libexec/poudriere/timeout/timeout.c
timestamp_SOURCES= src/libexec/poudriere/timestamp/timestamp.c
tsort_SOURCES= src/libexec/poudriere/tsort/tsort.c
+unlink_SOURCES= src/libexec/poudriere/unlink/unlink.c
sh_CFLAGS= -DSHELL -DNO_HISTORY -std=gnu99 \
-include $(top_srcdir)/external/sh_compat/compat.h \
@@ -205,6 +207,7 @@ sh_SOURCES+= \
src/libexec/poudriere/locked_mkdir/locked_mkdir.c \
src/libexec/poudriere/pwait/pwait.c \
src/libexec/poudriere/rename/rename.c \
+ src/libexec/poudriere/unlink/unlink.c \
src/poudriere-sh/helpers.c \
src/poudriere-sh/mkdir.c \
src/poudriere-sh/mkfifo.c \