summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-20 09:11:42 +0200
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-20 09:11:42 +0200
commitbaaa4d83c98b42a1df98e70b972774ad8f5b8ead (patch)
treeef7803e8119fd6f17f4e80faec8fb1bbc78573a8 /run
parent2b3d58459a21e17d6650c54fc4f357c576ff5133 (diff)
Tightened regex and made tiny variable adjustment. no functional change
Diffstat (limited to 'run')
-rwxr-xr-xrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/run b/run
index be5fed9..ec997ab 100755
--- a/run
+++ b/run
@@ -16,7 +16,7 @@ set -l gitCommand $matcher[1]
set -l repo $matcher[2]
set -l repoDir srv repos
set -l repoDir /(string join -n '/' $repoDir (string split '/' $repo))
-cat $REPO_PERMISSIONS | grep -q -E "^$repoDir:$checkUser"
+cat $REPO_PERMISSIONS | grep -q -E "^$repoDir:$checkUser\$"
or exit 1;
# run command