From 5b95b81ea90682c124d5280b64a91a249c464ee4 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 17 Mar 2018 17:41:36 -0700 Subject: Kill gperf vestiges Generate paths.sh by configure, do away with paths.mk. Signed-off-by: Alexey Neyman --- bootstrap | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index e3884204..5c6eacaa 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 -- cgit v1.2.3