[packages/rpm-build-tools] get specname only (like in create_git_repo() above)

arekm arekm at pld-linux.org
Mon Mar 11 13:58:47 CET 2013


commit e0ddd96de2c3dacc1d5f1bcc731127f2459279c5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 11 13:58:25 2013 +0100

    get specname only (like in create_git_repo() above)

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index c34c309..846e4e7 100755
--- a/builder.sh
+++ b/builder.sh
@@ -906,7 +906,7 @@ get_spec() {
 	fi
 
 	cd "$REPO_DIR"
-
+	SPECFILE=$(basename $SPECFILE)
 	if [ "$NOCVSSPEC" != "yes" ]; then
 		if [ -z "$DEPTH" ]; then
 			if [ -d "$PACKAGE_DIR/.git" ]; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/e0ddd96de2c3dacc1d5f1bcc731127f2459279c5



More information about the pld-cvs-commit mailing list