]> git.ozlabs.org Git - next-scripts/blobdiff - to_ozlabs
do_build: make more posix shell compliant
[next-scripts] / to_ozlabs
index 8906441eb6066121a83317176c86ac8043b10510..3b15d3e66e2c0c66bce08b3cde68fc22c5fe23a0 100755 (executable)
--- a/to_ozlabs
+++ b/to_ozlabs
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-GIT_REPOS="next next-history.git quilt next-fixes tools etc mmotm init"
+GIT_REPOS="next next-history.git quilt next-fixes tools etc mmotm"
 
 cd ~/kernels/next
 
@@ -10,8 +10,8 @@ ssh ozlabs.org "cd kernels/linus.git; git remote update"
 for i in $GIT_REPOS; do
        echo "Pushing $i"
        ( cd $i; git push bilbo )
-#      [ "${i%.git}" = "$i" ] &&
-#              ssh ozlabs.org "cd kernels/next/$i; git reset --hard"
+       [ "${i%.git}" = "$i" ] &&
+               ssh ozlabs.org "cd kernels/next/$i; git reset --hard"
 done
 
 {
@@ -26,6 +26,8 @@ done
 - /next-2*/
 + .git/
 + .git/config
++ .git/hooks
++ .git/hooks/**
 + /next/.git/rr-cache/
 + /next/.git/rr-cache/**
 EOF