From 65351e8c69659455096d1e37c4b78d1298fb7021 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 12 Mar 2022 18:04:10 +0100 Subject: add `dist` make target --- write_makefile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'write_makefile.sh') 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|<>|'"$SRCDIR"'| -- cgit v1.2.3