summaryrefslogtreecommitdiff
path: root/zshfunc/upgrade-porter-chroots
diff options
context:
space:
mode:
Diffstat (limited to 'zshfunc/upgrade-porter-chroots')
-rw-r--r--zshfunc/upgrade-porter-chroots16
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