[packages/rpm-build-tools/merge-pld-builder-client: 2289/2675] make-request.sh: don't print dirname in autotag requests

glen glen at pld-linux.org
Mon Dec 19 22:04:12 CET 2016


commit 9452cde8a26c049e50de221d21034a30771b37b8
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Sat Aug 25 12:27:30 2012 +0100

    make-request.sh: don't print dirname in autotag requests
    
    Previously autotag printed request package/package.spec. It works as
    builder infrastructure strips the dirname. But let's try to be
    consistency in sent requests. This also fixes breakage in autotag
    introduced by previous commit.

 make-request.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/make-request.sh b/make-request.sh
index 0ea3352..a062fbc 100755
--- a/make-request.sh
+++ b/make-request.sh
@@ -187,7 +187,8 @@ get_autotag() {
 			# just print it out, to fallback to base pkg name
 			echo "$pkg"
 		else
-			autotag $pkg/$pkg.spec
+			cd $pkg
+			autotag $pkg.spec
 		fi
 	done
 }
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list