diff options
author | Peter Palfrader <peter@palfrader.org> | 2009-05-08 19:18:47 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2009-05-08 19:18:47 +0000 |
commit | 0af45db40a809524fe0b3f7f38d5185717ff8758 (patch) | |
tree | 3cc9372cf7611cb79f08d075d30a645174c04c4b /zshfunc/upgrade-porter-chroots | |
parent | 8ab42a34318201ecb67d96dac5e688ccf4cc7f34 (diff) |
remove function headers
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@392 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshfunc/upgrade-porter-chroots')
-rw-r--r-- | zshfunc/upgrade-porter-chroots | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/zshfunc/upgrade-porter-chroots b/zshfunc/upgrade-porter-chroots index 7f22060..38801e5 100644 --- a/zshfunc/upgrade-porter-chroots +++ b/zshfunc/upgrade-porter-chroots @@ -1,11 +1,9 @@ ## vim:ft=zsh:foldmethod=marker -upgrade-porter-chroots() { - cd - for i in $DEBPORTERHOSTS; do - mkdir hosts/chroot-$i 2>/dev/null || continue; - echo $i; - preexec $i; - ssh $i -t 'sudo /usr/sbin/upgrade-porter-chroots' - done -} +cd +for i in $DEBPORTERHOSTS; do + mkdir hosts/chroot-$i 2>/dev/null || continue; + echo $i; + preexec $i; + ssh $i -t 'sudo /usr/sbin/upgrade-porter-chroots' +done |