etcupdate: Add missing directory when building the tree
Missed in 348151 Reported by: lwshu, ci
This commit is contained in:
parent
721e81adce
commit
d0ba99d943
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348165
@ -198,7 +198,7 @@ build_tree()
|
|||||||
for file in $PREWORLD_FILES; do
|
for file in $PREWORLD_FILES; do
|
||||||
name=$(basename $file)
|
name=$(basename $file)
|
||||||
mkdir -p $1/etc >&3 2>&1 || return 1
|
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
|
done
|
||||||
elif ! [ -n "$nobuild" ]; then
|
elif ! [ -n "$nobuild" ]; then
|
||||||
(cd $SRCDIR; $make DESTDIR=$destdir distrib-dirs &&
|
(cd $SRCDIR; $make DESTDIR=$destdir distrib-dirs &&
|
||||||
|
Loading…
Reference in New Issue
Block a user