diff options
| -rwxr-xr-x | example-acit-list-projects.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example-acit-list-projects.sh b/example-acit-list-projects.sh index 80f81d4..0d69dca 100755 --- a/example-acit-list-projects.sh +++ b/example-acit-list-projects.sh @@ -1,9 +1,9 @@ -#!/usr/bin/bash +#!/bin/sh # determine our domain # NOTE: preferably hardcode the domain in your script, or use another env var domain="${ACIT_MAIL_DOMAIN:-example.com}" -if [[ -v "ACIT_USES_ALIASES" ]]; then +if [ -n "${ACIT_USES_ALIASES}" ]; then domain="${domain#bugs.}" fi domain="git.$domain" @@ -15,7 +15,7 @@ done <<LIST nocat acit work/cgit -work/linux +softfork/cgit LIST :<<-DOC |
