Skip to content

Commit

Permalink
ci-run.sh: adjust regexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgingold committed Feb 28, 2020
1 parent c989a42 commit 27093a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/ci-run.sh
Expand Up @@ -126,7 +126,7 @@ notag() {
vertag() {
if expr "$1" : 'v[0-9].*' > /dev/null; then
# Check version defined in configure.
cfgver="`grep "^ghdl_version=" configure | sed -e 's/.*"\(.*\)";/\1/'`"
cfgver=`grep "^ghdl_version=" configure | sed -e 's/.*"\(.*\)"/\1/'`
if [ "x$1" != "xv$cfgver" ]; then
printf "${ANSI_RED}Tag '$1' does not match configure 'ghdl_version' ($cfgver)!${ANSI_NOCOLOR}\n" 1>&2;
exit 1
Expand Down

0 comments on commit 27093a5

Please sign in to comment.