diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-29 09:01:06 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-29 09:01:57 -0700 |
commit | 6c49a4ffc4fb3b9538ad319f33c9d8182e88adfa (patch) | |
tree | f498f9be5efa1ace4dcf985d10aa8551efebb17c /modules/services/cgit | |
parent | fix(gerrit): remove git suffix from project URL (diff) | |
download | world-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/cgit')
-rw-r--r-- | modules/services/cgit/default.nix | 2 |
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 |