summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index e388420..5c6eaca 100755
--- a/bootstrap
+++ b/bootstrap
@@ -740,6 +740,7 @@ gen_selection menu comp_libs "Companion libraries"
msg "*** Gathering the list of data files to install"
{
+ declare -A seen_files
echo -n "verbatim_data ="
find config contrib packages samples scripts -type f | LANG=C sort | while read f; do
case "${f}" in
@@ -754,8 +755,13 @@ msg "*** Gathering the list of data files to install"
f=config/configure.in
;;
esac
+ # Checks & substitutions above may result in duplicate files
+ if [ -n "${seen_files[${f}]}" ]; then
+ continue
+ fi
echo " \\"
echo -n " ${f}"
+ seen_files[${f}]=y
done
} > verbatim-data.mk