From d0ba99d943e69e6d5cc80e7ab3e0403c687652ea Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Thu, 23 May 2019 14:05:42 +0000 Subject: [PATCH] etcupdate: Add missing directory when building the tree Missed in 348151 Reported by: lwshu, ci --- usr.sbin/etcupdate/etcupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/etcupdate/etcupdate.sh b/usr.sbin/etcupdate/etcupdate.sh index 70299a7227ae..965ea25ac900 100755 --- a/usr.sbin/etcupdate/etcupdate.sh +++ b/usr.sbin/etcupdate/etcupdate.sh @@ -198,7 +198,7 @@ build_tree() for file in $PREWORLD_FILES; do name=$(basename $file) mkdir -p $1/etc >&3 2>&1 || return 1 - cp -p $SRCDIR/$file etc/$name || return 1 + cp -p $SRCDIR/$file $1/etc/$name || return 1 done elif ! [ -n "$nobuild" ]; then (cd $SRCDIR; $make DESTDIR=$destdir distrib-dirs &&