aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVosjedev <vosje@vosjedev.net>2025-11-02 18:18:51 +0100
committerVosjedev <vosje@vosjedev.net>2025-11-02 18:18:51 +0100
commitba475bf46328542795cdf22c8c8807947056c02d (patch)
treebe412e88c5ec06981c77cb0b17f45990cf759250
parent06564b6a5cd9f42d59d59ce7172fbc8e1be1cebb (diff)
downloadacit-ba475bf46328542795cdf22c8c8807947056c02d.tar.gz
acit-ba475bf46328542795cdf22c8c8807947056c02d.tar.bz2
acit-ba475bf46328542795cdf22c8c8807947056c02d.tar.xz
docs: Make example project listing posix-compatible
-rwxr-xr-xexample-acit-list-projects.sh6
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