[Libosinfo] [osinfo-db PATCH v2 2/3] prepare-release: Drop references to Test::AutoBuild

Andrea Bolognani abologna at redhat.com
Mon May 7 14:58:01 UTC 2018


They are misleading, and no longer relevant anyway.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 prepare-release.sh | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/prepare-release.sh b/prepare-release.sh
index d82b0ef..1873b7d 100755
--- a/prepare-release.sh
+++ b/prepare-release.sh
@@ -4,7 +4,7 @@ set -e
 set -v
 
 test -n "$1" && RESULTS=$1 || RESULTS=results.log
-: ${AUTOBUILD_INSTALL_ROOT=$HOME/builder}
+INSTALL_ROOT=$HOME/builder
 
 # Make things clean.
 make -k clean
@@ -22,14 +22,10 @@ case $MAKEFLAGS in
 esac
 
 make
-make install DESTDIR="$AUTOBUILD_INSTALL_ROOT" OSINFO_DB_TARGET="--system"
+make install DESTDIR="$INSTALL_ROOT" OSINFO_DB_TARGET="--system"
 
-if [ -n "$AUTOBUILD_COUNTER" ]; then
-  EXTRA_RELEASE=".auto$AUTOBUILD_COUNTER"
-else
-  NOW=`date +"%s"`
-  EXTRA_RELEASE=".$USER$NOW"
-fi
+NOW=`date +"%s"`
+EXTRA_RELEASE=".$USER$NOW"
 
 if [ -f /usr/bin/rpmbuild ]; then
   rpmbuild --nodeps \
-- 
2.17.0




More information about the Libosinfo mailing list