svn commit: r348165 - head/usr.sbin/etcupdate

Emmanuel Vadot manu at FreeBSD.org
Thu May 23 14:05:43 UTC 2019


Author: manu
Date: Thu May 23 14:05:42 2019
New Revision: 348165
URL: https://svnweb.freebsd.org/changeset/base/348165

Log:
  etcupdate: Add missing directory when building the tree
  
  Missed in 348151
  
  Reported by:	lwshu, ci

Modified:
  head/usr.sbin/etcupdate/etcupdate.sh

Modified: head/usr.sbin/etcupdate/etcupdate.sh
==============================================================================
--- head/usr.sbin/etcupdate/etcupdate.sh	Thu May 23 14:02:39 2019	(r348164)
+++ head/usr.sbin/etcupdate/etcupdate.sh	Thu May 23 14:05:42 2019	(r348165)
@@ -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 &&


More information about the svn-src-head mailing list