[Lsb-messages] /var/www/bzr/lsb/devel/appbat r965: Fix check-libbat target

Stew Benedict stewb at linux-foundation.org
Sun Jun 10 11:21:37 UTC 2012


------------------------------------------------------------
revno: 965
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: appbat
timestamp: Sun 2012-06-10 07:21:37 -0400
message:
  Fix check-libbat target
modified:
  rpm/makefile
-------------- next part --------------
=== modified file 'rpm/makefile'
--- a/rpm/makefile	2011-08-31 13:01:12 +0000
+++ b/rpm/makefile	2012-06-10 11:21:37 +0000
@@ -51,9 +51,10 @@
 	./check.sh
 
 check-libbat:
-	@VERSION=`grep ^Version lsb-build-libbat.spec | awk '{print $$2}'`; \
+	@NAME=`grep ^Name lsb-build-libbat.spec | awk '{print $$2}'`; \
+	VERSION=`grep ^Version lsb-build-libbat.spec | awk '{print $$2}'`; \
 	RELEASE=`grep ^Release lsb-build-libbat.spec | awk '{print $$2}'`; \
-	CKPT=SRPMS/lsb-build-libbat-$${VERSION%;}-$${RELEASE%;}.src.rpm; \
+	CKPT=SRPMS/$${NAME%;}-$${VERSION%;}-$${RELEASE%;}.src.rpm; \
 	if test ! -f $${CKPT%;}; then \
 		echo "missing $${CKPT%;}"; \
 		exit 1; \



More information about the lsb-messages mailing list