commit bd08464bd6343855f3d21d94951ae8371e763b37
Author: Jan Rękorajski <[email protected]>
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.
rebuild-th-kernel.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rebuild-th-kernel.sh b/rebuild-th-kernel.sh
index b0097e7..1571a56 100755
--- a/rebuild-th-kernel.sh
+++ b/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
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit