about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-29 09:01:06 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-29 09:01:57 -0700
commit6c49a4ffc4fb3b9538ad319f33c9d8182e88adfa (patch)
treef498f9be5efa1ace4dcf985d10aa8551efebb17c /modules/services
parentfix(gerrit): remove git suffix from project URL (diff)
downloadworld-6c49a4ffc4fb3b9538ad319f33c9d8182e88adfa.tar.gz
fix(cgit): write the test correctly
Change-Id: I1c57da26d315c847fc5cef134e75a34395764ac9
Reviewed-on: https://cl.fcuny.net/c/world/+/161
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/cgit/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix
index 7abe537..484a708 100644
--- a/modules/services/cgit/default.nix
+++ b/modules/services/cgit/default.nix
@@ -73,7 +73,7 @@ in {
           exclude_repos="password-store|All-Projects|All-Users|homelab"
 
           for repo in ''${repos}; do
-            if [[ ! $exclude_repos ~= $repo ]]; then
+            if [[ ! $exclude_repos =~ $repo ]]; then
               echo "''${repo}.git" >> $tmplist
             fi
           done