summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-20 09:11:42 +0200
committerGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-20 09:11:42 +0200
commit9d99b5e6d45e83e0ef72a9b88b84808f1282834b (patch)
treeef7803e8119fd6f17f4e80faec8fb1bbc78573a8 /run
parentc3d76bb19e4ee3a5050908f35eb435b3233e0e31 (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