jjb: babeltrace: Release jobs script cleanup
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 22 May 2020 20:19:47 +0000 (16:19 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 22 May 2020 20:19:47 +0000 (16:19 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/babeltrace/release.sh

index 43db8dbe0903faae3b8590da820c00dd89010c17..32306e1e648cbfbbd06577bcd720f255fb66e491 100644 (file)
@@ -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/"
 
This page took 0.023123 seconds and 4 git commands to generate.