git: 4a158fc030b5 - main - depend-cleanup.sh: handle zic moving one level up.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Jan 2023 17:20:09 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=4a158fc030b5a31efdbad8b30c9a859df553ae3c
commit 4a158fc030b5a31efdbad8b30c9a859df553ae3c
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-01-13 18:09:51 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-01-14 17:17:22 +0000
depend-cleanup.sh: handle zic moving one level up.
MFC after: 1 week
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D38044
---
tools/build/depend-cleanup.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index 195162d3efc8..64213d9c00f1 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -110,3 +110,9 @@ fi
# 20221115 42d10b1b56f2 move from rs.c to rs.cc
clean_dep usr.bin/rs rs c
+
+# 20230110 bc42155199b5 usr.sbin/zic/zic -> usr.sbin/zic
+if [ -d "$OBJTOP"/usr.sbin/zic/zic ] ; then
+ echo "Removing old zic directory"
+ rm -rf "$OBJTOP"/usr.sbin/zic/zic
+fi