aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2023-01-13 18:09:51 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2023-01-14 17:17:22 +0000
commit4a158fc030b5a31efdbad8b30c9a859df553ae3c (patch)
tree93c225bc5b4aefdf102112f1d808ca3c6440459c
parent2aad7570f4e11ac94bb06c44cdc83ad1962fb97e (diff)
downloadsrc-4a158fc030b5a31efdbad8b30c9a859df553ae3c.tar.gz
src-4a158fc030b5a31efdbad8b30c9a859df553ae3c.zip
depend-cleanup.sh: handle zic moving one level up.
MFC after: 1 week Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D38044
-rwxr-xr-xtools/build/depend-cleanup.sh6
1 files changed, 6 insertions, 0 deletions
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