aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2021-09-03 10:11:27 +0200
committerLoïc Hoguin <[email protected]>2021-09-03 10:11:27 +0200
commitbd1349c13bf7599eab0a394de15c95e4c371bd1a (patch)
treed3af40f85299d2dcdc312710d0751a02309f615a
parent58d3be3f38d283bea1a6bd8183810ee4081c7aba (diff)
downloadci.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-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 8920e2d..9138a8e 100755
--- a/update.sh
+++ b/update.sh
@@ -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