From 63ffe145e10279fe385013371153c317a74b402f Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 22 May 2020 16:19:47 -0400 Subject: [PATCH] jjb: babeltrace: Release jobs script cleanup Signed-off-by: Michael Jeanson --- scripts/babeltrace/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/babeltrace/release.sh b/scripts/babeltrace/release.sh index 43db8db..32306e1 100644 --- a/scripts/babeltrace/release.sh +++ b/scripts/babeltrace/release.sh @@ -116,7 +116,7 @@ TARBALL_FILE="$BASENAME-$PACKAGE_VERSION.tar.bz2" # Make sure the reported version matches the current git tag -GIT_TAG="$(git describe --exact-match --tags $(git log -n1 --pretty='%h')|| echo 'undefined')" +GIT_TAG="$(git describe --exact-match --tags "$(git log -n1 --pretty='%h')" || echo 'undefined')" if [ "v$PACKAGE_VERSION" != "$GIT_TAG" ]; then echo "Git checkout is not tagged or doesn't match the reported version." @@ -124,7 +124,7 @@ if [ "v$PACKAGE_VERSION" != "$GIT_TAG" ]; then fi # Generate release tarball -./configure "${CONF_OPTS[@]}" +./configure make dist cp "./$TARBALL_FILE" "$OUTDIR/" -- 2.34.1