[Git][security-tracker-team/security-tracker][master] setup-repo: ensure hooks directory exists

Sean Whitton (@spwhitton) spwhitton at debian.org
Fri Jul 7 10:29:56 BST 2023



Sean Whitton pushed to branch master at Debian Security Tracker / security-tracker


Commits:
e57c301b by Sean Whitton at 2023-07-07T10:29:46+01:00
setup-repo: ensure hooks directory exists

- - - - -


1 changed file:

- bin/setup-repo


Changes:

=====================================
bin/setup-repo
=====================================
@@ -30,6 +30,7 @@ install_pre_commit_hook() {
   fi
 
   echo "Installing pre-commit hook"
+  mkdir -p "$GIT_HOOKS_DIR"
   ln -s "${SRC}" "${HOOK}"
 }
 



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/e57c301b2c5ad6d664d964aa961e2edfb6c6e4cc

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/e57c301b2c5ad6d664d964aa961e2edfb6c6e4cc
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20230707/d62053a9/attachment.htm>


More information about the debian-security-tracker-commits mailing list