File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ read GIT_MAJOR_VERSION GIT_MINOR_VERSION GIT_MICRO_VERSION GIT_PATCH_LEVEL trail
82
82
$( echo " $GIT_VERSION " 0 0 0 0 | tr ' .a-zA-Z-' ' ' )
83
83
EOF
84
84
85
- REPLACED=$( printf " %s" " $INPUT " | sed -e " s|@GIT_VERSION@|$GIT_VERSION |" \
85
+ REPLACED=$( printf " %s\n " " $INPUT " | sed -e " s|@GIT_VERSION@|$GIT_VERSION |" \
86
86
-e " s|@GIT_MAJOR_VERSION@|$GIT_MAJOR_VERSION |" \
87
87
-e " s|@GIT_MINOR_VERSION@|$GIT_MINOR_VERSION |" \
88
88
-e " s|@GIT_MICRO_VERSION@|$GIT_MICRO_VERSION |" \
Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ print_config_list () {
13
13
cat << EOF
14
14
static const char *config_name_list[] = {
15
15
EOF
16
- sed -E '
17
- /^`? [a-zA-Z].*\..*`? ::$/ {
16
+ sed -e '
17
+ /^`* [a-zA-Z].*\..*`* ::$/ {
18
18
/deprecated/d;
19
19
s/::$//;
20
20
s/`//g;
21
21
s/^.*$/ "&",/;
22
22
p;};
23
- d' \
23
+ d' \
24
24
" $SOURCE_DIR " /Documentation/* config.adoc \
25
- " $SOURCE_DIR " /Documentation/config/* .adoc|
25
+ " $SOURCE_DIR " /Documentation/config/* .adoc |
26
26
sort
27
27
cat << EOF
28
28
NULL,
You can’t perform that action at this time.
0 commit comments