diff options
author | Loïc Hoguin <[email protected]> | 2021-09-03 10:11:27 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2021-09-03 10:11:27 +0200 |
commit | bd1349c13bf7599eab0a394de15c95e4c371bd1a (patch) | |
tree | d3af40f85299d2dcdc312710d0751a02309f615a | |
parent | 58d3be3f38d283bea1a6bd8183810ee4081c7aba (diff) | |
download | ci.erlang.mk-bd1349c13bf7599eab0a394de15c95e4c371bd1a.tar.gz ci.erlang.mk-bd1349c13bf7599eab0a394de15c95e4c371bd1a.tar.bz2 ci.erlang.mk-bd1349c13bf7599eab0a394de15c95e4c371bd1a.zip |
Small fix when we are at MAJOR.0
There's still a problem when there's only one line in dropped
versions but this will have to be fixed or improved later.
-rwxr-xr-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ echo Variable: $VAR echo Old version: $OLD echo New version: $NEW -sed "s/\(^$VAR := .*\) [a-zA-Z0-9.-]*$/\1 $NEW/" -- early-plugins.mk > early-plugins.1.tmp +sed "s/\(^$VAR :=.*\) [a-zA-Z0-9.-]*$/\1 $NEW/" -- early-plugins.mk > early-plugins.1.tmp sed "/^$VAR-DROPPED := .*\\\\$/ { : again; /\\\\$/ { N; b again }; s/$/ $OLD/ }" -- early-plugins.1.tmp > early-plugins.2.tmp rm early-plugins.1.tmp |