[fractal] hooks: Fix shebang on pre-commit hook



commit 8773fafff9038066e516424aa109cf4f99efcc6c
Author: Jaap Schouwenburg <jaap schouwenburg protonmail com>
Date:   Mon Jun 20 15:10:38 2022 +0200

    hooks: Fix shebang on pre-commit hook
    
    The pre-commit hook uses features that are not defined in the POSIX
    shell. Fix the shebang so that it is correctly identified as a bash
    script.
    
    Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1111>

 hooks/pre-commit.hook | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/hooks/pre-commit.hook b/hooks/pre-commit.hook
index 634099cb1..5a15892c8 100755
--- a/hooks/pre-commit.hook
+++ b/hooks/pre-commit.hook
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Depends on: scripts/checks.sh
 
 # Style helpers


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]