summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-03-18 00:41:36 (GMT)
committerAlexey Neyman <stilor@att.net>2018-04-07 19:03:17 (GMT)
commit5b95b81ea90682c124d5280b64a91a249c464ee4 (patch)
tree6ab5f2891dd81ae9be21cd56fe8a7dcde4485d3c /bootstrap
parent0dc8565c4fa521e71667030ec0f994aa4f3918ec (diff)
Kill gperf vestiges
Generate paths.sh by configure, do away with paths.mk. Signed-off-by: Alexey Neyman <stilor@att.net>
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