bootstrap: follow symlinks

newlib-nano package shares patches with newlib package via symlinks.
If a user chooses local setup (--enable-local) it works perfectly, but
if a user chooses normal setup (make install), the links are lost.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
This commit is contained in:
Kirill K. Smirnov 2023-07-29 14:58:39 +03:00 committed by Chris Packham
parent 41f5d49053
commit eb62ec3fbe

View File

@ -804,7 +804,7 @@ msg "*** Gathering the list of data files to install"
{
declare -A seen_files
echo -n "verbatim_data ="
find COPYING config contrib licenses.d packages samples scripts -type f | LANG=C sort | while read f; do
find -L COPYING config contrib licenses.d packages samples scripts -type f | LANG=C sort | while read f; do
# Implement some kind of .installignore for these files?
case "${f}" in
# Avoid temp files