aboutsummaryrefslogtreecommitdiff
path: root/write_makefile.sh
diff options
context:
space:
mode:
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"'|