aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/shell
diff options
context:
space:
mode:
Diffstat (limited to 'reproduce/software/shell')
-rwxr-xr-xreproduce/software/shell/configure.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/reproduce/software/shell/configure.sh b/reproduce/software/shell/configure.sh
index ca95a92..a0fc228 100755
--- a/reproduce/software/shell/configure.sh
+++ b/reproduce/software/shell/configure.sh
@@ -1320,9 +1320,11 @@ prepare_name_version ()
| .local/bin/sed '/^\s*$/d' \
| .local/bin/wc -l)
- # Put them all in one paragraph.
+ # Put them all in one paragraph, while sorting them, commenting any
+ # possible underscores and removing blank lines.
.local/bin/cat $@ \
| .local/bin/sort \
+ | .local/bin/sed -e's|_|\\_|' \
| .local/bin/awk 'NF>0 { \
c++; \
if(c==1) \