diff options
author | Ben Sima <ben@bsima.me> | 2021-05-29 11:32:36 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-05-29 11:33:24 -0400 |
commit | 11d0bb36d08b1af0c7a5d665d94b650817031a1e (patch) | |
tree | 214fc8b1a71cbd87f76cda0acf873bd0bbabfe09 | |
parent | 72be8190609afcfd9058b3906ed709353c779b8c (diff) |
fix variable over ssh
-rwxr-xr-x | goremote | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,10 +1,11 @@ #!/usr/bin/env bash -set -euo pipefail +set -euxo pipefail repos=(~/org ~/bin ~/cfg ~/dot-emacs) echo "pushing lithium" ssh -qt ben@dev.simatime.com <<'EOF' +repos=(~/org ~/bin ~/cfg ~/dot-emacs) for r in ${repos[@]} do git -C $r push |