summaryrefslogtreecommitdiff
path: root/distrib/miniroot/list2sh.awk
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/miniroot/list2sh.awk')
-rw-r--r--distrib/miniroot/list2sh.awk7
1 files changed, 6 insertions, 1 deletions
diff --git a/distrib/miniroot/list2sh.awk b/distrib/miniroot/list2sh.awk
index f39bd3250d0..d2f9e1f7358 100644
--- a/distrib/miniroot/list2sh.awk
+++ b/distrib/miniroot/list2sh.awk
@@ -1,4 +1,4 @@
-# $OpenBSD: list2sh.awk,v 1.10 2002/05/24 13:19:48 markus Exp $
+# $OpenBSD: list2sh.awk,v 1.11 2002/08/29 01:53:37 krw Exp $
# $NetBSD: list2sh.awk,v 1.2 1996/05/04 15:45:31 pk Exp $
BEGIN {
@@ -15,6 +15,11 @@ $1 == "COPY" {
printf("cp %s ${TARGDIR}/%s\n", $2, $3);
next;
}
+$1 == "REMOVE" {
+ printf("echo '%s'\n", $0);
+ printf("rm -f ${TARGDIR}/%s\n", $2);
+ next;
+}
$1 == "STRIP" {
printf("echo '%s'\n", $0);
printf("test -f ${TARGDIR}/%s && rm -fr ${TARGDIR}/%s\n", $3, $3);