minor fixes
[distro-setup] / brc2
diff --git a/brc2 b/brc2
index 3f0e9ec06504d50d2f43289e9ebf2a423196a0be..a3ab32a872c189c09056f02703bf9f22b5d65642 100644 (file)
--- a/brc2
+++ b/brc2
@@ -121,7 +121,7 @@ bbk() { # btrbk wrapper
   fi
   # run latest
   install-my-scripts
-  btrbk-run "$@" |& pee cat "systemd-cat -t btrbk-run"
+  unbuffer btrbk-run "$@" |& pee cat "systemd-cat -t btrbk-run"
   if $active; then
     ser enable btrbk.timer
   fi
@@ -138,14 +138,14 @@ bpull() {
   c /
   # run latest
   install-my-scripts
-  switch-mail-host pull $1 |& pee cat "systemd-cat -t switch-mail-host"
+  ubuffer switch-mail-host pull $1 |& pee cat "systemd-cat -t switch-mail-host"
 }
 bpush() {
   [[ $1 ]] || return 1
   c /
   # run latest
   install-my-scripts
-  switch-mail-host push $1 |& pee cat "systemd-cat -t switch-mail-host"
+  ubuffer switch-mail-host push $1 |& pee cat "systemd-cat -t switch-mail-host"
 }
 lipush() {
   # note, i had --delete-excluded, but that deletes all files in --exclude-from on
@@ -283,7 +283,7 @@ dup() {
       ran_d=true
       ;;&
     *DISTRO-END!*|*DISTRO!*)
-      pushd
+      pushd /
       /b/ds/distro-end || return $?
       popd
       ran_d=true