X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=get-comments;h=36563b84afa7e5783648f43f7628dfed9c3330ca;hp=54ea99a6a28e504ecb27e8b6bfc94316e96bd5be;hb=5040f995733cbd639d31f4b41f670f9ff6e431c6;hpb=e02cd51eb9c9ac3f84a84fefd567d7217e34bc38 diff --git a/get-comments b/get-comments index 54ea99a..36563b8 100755 --- a/get-comments +++ b/get-comments @@ -1,4 +1,4 @@ -#!/bin/bash -l +#!/bin/bash # Copyright (C) 2016 Ian Kelling # This program is free software: you can redistribute it and/or modify @@ -20,11 +20,11 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR cd "${BASH_SOURCE%/*}/proposed-comments" all=false -shell="ssh $(chost iankelling.org)" +shell="ssh iankelling.org" while [[ $1 ]]; do case $1 in -a) all=true; shift ;; - -l) shell= ; shift ;; # -l for local + -l) shell= ; shift ;; # -l for local site instead of iankelling.org esac done