File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3705,7 +3705,7 @@ no)
3705
3705
if test -n "${DOC_CANNOTBUILD_LIST}"; then
3706
3706
DOC_CANNOTBUILD_LIST_LINES="`echo "${DOC_CANNOTBUILD_LIST}" | tr ' ' '\n' | grep -vE '^$'`"
3707
3707
for DOCTYPE in ${nut_doc_build_list} ; do
3708
- if echo "${DOC_CANNOTBUILD_LIST_LINES}" | grep -E "^${DOCTYPE}(| =yes)\$" >/dev/null 2>/dev/null ; then
3708
+ if echo "${DOC_CANNOTBUILD_LIST_LINES}" | grep -E "^${DOCTYPE}(=yes)? \$" >/dev/null 2>/dev/null ; then
3709
3709
AC_MSG_ERROR ( [ Unable to build${DOC_CANNOTBUILD_LIST} documentation (check for 'no' results above)] )
3710
3710
else if echo "${DOC_CANNOTBUILD_LIST_LINES}" | grep -E "^${DOCTYPE}=(skip|auto|dist-auto)\$" >/dev/null 2>/dev/null ; then
3711
3711
AC_MSG_NOTICE ( [ Unable to build${DOC_CANNOTBUILD_LIST} documentation (check for 'no' results above), skipping] )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dllldd() (
26
26
for OD in objdump " $ARCH -objdump" ; do
27
27
(command -v " $OD " > /dev/null 2> /dev/null) || continue
28
28
29
- ODOUT=" ` $OD -x " $@ " 2> /dev/null | grep -Ei " DLL Name:" | awk ' {print $NF}' | sort | uniq | grep -vEi ' ^(| /.*/)(msvcrt|userenv|bcrypt|rpcrt4|usp10|(advapi|kernel|user|wsock|ws2_|gdi|ole||shell)(32|64))\.dll$' ` " \
29
+ ODOUT=" ` $OD -x " $@ " 2> /dev/null | grep -Ei " DLL Name:" | awk ' {print $NF}' | sort | uniq | grep -vEi ' ^(/.*/)? (msvcrt|userenv|bcrypt|rpcrt4|usp10|(advapi|kernel|user|wsock|ws2_|gdi|ole||shell)(32|64))\.dll$' ` " \
30
30
&& [ -n " $ODOUT " ] || continue
31
31
32
32
for F in $ODOUT ; do
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ getver_git() {
197
197
# string over longer ones if available, or older RC over newer release
198
198
# like "v2.8.2-rc8" preferred over "v2.8.3" if they happen to be tagging
199
199
# the same commit):
200
- DESC_PRERELEASE=" ` git describe --tags | grep -E ' ^v[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*(|- (rc|alpha|beta)- *[0-9][0-9]*)$' ` " \
200
+ DESC_PRERELEASE=" ` git describe --tags | grep -E ' ^v[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*([0-9]*|[-] (rc|alpha|beta)[-] *[0-9][0-9]*)$' ` " \
201
201
|| DESC_PRERELEASE=" "
202
202
203
203
# How much of the known trunk history is in current HEAD?
@@ -283,7 +283,7 @@ getver_default() {
283
283
# Assume triplet (possibly prefixed with `v`) + suffix
284
284
# like `v2.8.3-rc6` or `2.8.2-beta-1`
285
285
# FIXME: Check the assumption better!
286
- SUFFIX=" ` echo " ${NUT_VERSION_DEFAULT} " | grep -E ' ^v*[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*(|- (rc|alpha|beta)- *[0-9][0-9]*)$' | sed -e ' s/^v*//' -e ' s/^\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\([^0-9].*\)$/\2/' ` " \
286
+ SUFFIX=" ` echo " ${NUT_VERSION_DEFAULT} " | grep -E ' ^v*[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*([0-9]*|[-] (rc|alpha|beta)[-] *[0-9][0-9]*)$' | sed -e ' s/^v*//' -e ' s/^\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\([^0-9].*\)$/\2/' ` " \
287
287
&& [ -n " ${SUFFIX} " ] \
288
288
&& SUFFIX_PRERELEASE=" ` echo " ${SUFFIX} " | sed ' s/^-*//' ` " \
289
289
&& NUT_VERSION_DEFAULT=" ` echo " ${NUT_VERSION_DEFAULT} " | sed -e ' s/' " ${SUFFIX} " ' $//' ` "
You can’t perform that action at this time.
0 commit comments