diff options
author | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2016-01-09 01:08:02 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2016-01-09 01:08:02 +0100 |
commit | d534dd28eb3f02120087b127bb7738233a752a31 (patch) | |
tree | 6765a59c1122a1c6641692c0ab9c0bf07789c924 | |
parent | 58955dd621099cfc50a4efdea481bc1fa00e3df0 (diff) |
version.sh: Fix sed error on BSDs: bad flag in substitute command: '}'.
Explicitly terminate last function (s) within list of functions ({...}).
-rwxr-xr-x | version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ METASTORE_VER="$(\ { git describe --tags 2>/dev/null \ || grep -no '^v[0-9][^ ]*' NEWS \ || echo $METASTORE_PRETAG_VER; \ -} | sed '/^1:/s,,,;/:/{s,[^:]*:,,;s,$,+,};q' \ +} | sed '/^1:/s,,,;/:/{s,[^:]*:,,;s,$,+,;};q' \ )" echo "$METASTORE_VER_PREFIX$METASTORE_VER$METASTORE_VER_SUFFIX" |