Skip to content

Commit 24b1463

Browse files
committed
Changing it for systems like NixOS. Since python is also dynamically looked up, it shouldn't have security implications looking up bash dynamically in the env. Alternative would be to use /bin/sh which is at least global in NixOS.
1 parent e9a82f2 commit 24b1463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-pre-commit-hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
"@PYTHON_EXECUTABLE@" \
44
"@GCF_GIT_DIR_SCRIPT@" \

0 commit comments

Comments
 (0)