From ba475bf46328542795cdf22c8c8807947056c02d Mon Sep 17 00:00:00 2001 From: Vosjedev Date: Sun, 2 Nov 2025 18:18:51 +0100 Subject: docs: Make example project listing posix-compatible --- example-acit-list-projects.sh | 6 +++--- 1 file 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 <