etcupdate: Add missing directory when building the tree

Missed in 348151

Reported by:	lwshu, ci
This commit is contained in:
Emmanuel Vadot 2019-05-23 14:05:42 +00:00
parent 721e81adce
commit d0ba99d943

View File

@ -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 &&