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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



They are misleading, and no longer relevant anyway.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux