aboutsummaryrefslogtreecommitdiff
path: root/write_makefile.sh
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-03-12 18:04:10 +0100
committerWojtek Kosior <koszko@koszko.org>2022-03-12 18:04:10 +0100
commit65351e8c69659455096d1e37c4b78d1298fb7021 (patch)
treeced107af73629be8a89d93b6b3965e19abcf6106 /write_makefile.sh
parent7f0b5ded1256355a8ec5ad7bfefcacfabb7ac97e (diff)
downloadbrowser-extension-65351e8c69659455096d1e37c4b78d1298fb7021.tar.gz
browser-extension-65351e8c69659455096d1e37c4b78d1298fb7021.zip
add `dist` make targetv1.0-beta2
Diffstat (limited to 'write_makefile.sh')
-rwxr-xr-xwrite_makefile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/write_makefile.sh b/write_makefile.sh
index c9b107b..ab23cf2 100755
--- a/write_makefile.sh
+++ b/write_makefile.sh
@@ -29,7 +29,7 @@ SRCDIR="${SRCDIR#'srcdir = '}"
DEFAULT_TARGET="$(grep '^default_target = ' record.conf)"
DEFAULT_TARGET="${DEFAULT_TARGET#'default_target = '}"
-eval VERSION=$(cat "$SRCDIR/version")
+VERSION=$(cat "$SRCDIR/version" | sed 's/^"\(.*\)"$/\1/; s/-beta/b/')
sed '/^# Configuration gets included here by write_makefile\.sh$/r record.conf
s|<<VPATH>>|'"$SRCDIR"'|