[projects/pld-builder.new] Don't pollute autotag

baggins baggins at pld-linux.org
Fri Aug 10 22:57:12 CEST 2012


commit f9577389b115988c9b7f5e00dedd11314f06fdcb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Aug 10 22:55:31 2012 +0200

    Don't pollute autotag
    
    'cd -' displays the directory it changes back into, thus polluting
    output of autotag(). Send it do Dave Null.

 client/rebuild-th-kernel.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/client/rebuild-th-kernel.sh b/client/rebuild-th-kernel.sh
index b0097e7..1571a56 100755
--- a/client/rebuild-th-kernel.sh
+++ b/client/rebuild-th-kernel.sh
@@ -45,7 +45,7 @@ autotag() {
 		cd $pkg
 		out=$(git for-each-ref refs/tags/auto/${dist}/${pkg}-${alt_kernel}* --sort=-authordate --format='%(refname:short)' --count=1)
 		echo "$spec:$out"
-		cd -
+		cd - >/dev/null
 	done
 }
 


More information about the pld-cvs-commit mailing list