[projects/pld-builder.new] Reset topdir before every package in loop

baggins baggins at pld-linux.org
Sat Nov 30 18:20:07 CET 2013


commit a2cad6fc6983f32892675feda58dc16724530abb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 30 18:19:13 2013 +0100

    Reset topdir before every package in loop

 client/make-request.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/client/make-request.sh b/client/make-request.sh
index d439518..caaee25 100755
--- a/client/make-request.sh
+++ b/client/make-request.sh
@@ -182,8 +182,8 @@ get_autotag() {
 	local pkg spec rpmdir
 
 	rpmdir=$(rpm -E %_topdir)
-	cd $rpmdir
 	for pkg in "$@"; do
+		cd $rpmdir
 		# strip branches
 		pkg=${pkg%:*}
 		# strip .spec extension
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/a2cad6fc6983f32892675feda58dc16724530abb



More information about the pld-cvs-commit mailing list