diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-20 23:47:51 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-20 23:47:51 +0100 |
| commit | 3d5c94be4e903a689299a8347957bc4a7beb0a37 (patch) | |
| tree | 23b9528931170f4c94d95a29eff989e977245a0e | |
| parent | 03a68c82408cda204df37a05909fb841a5e9137f (diff) | |
| download | git-hooks-3d5c94be4e903a689299a8347957bc4a7beb0a37.tar.gz git-hooks-3d5c94be4e903a689299a8347957bc4a7beb0a37.zip | |
Make hook executable
Diffstat (limited to '')
| -rwxr-xr-x | post-receive-stagit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/post-receive-stagit b/post-receive-stagit index 7b5d992..93107cd 100755 --- a/post-receive-stagit +++ b/post-receive-stagit | |||
| @@ -91,8 +91,9 @@ if [ "$1" = "index" ]; then | |||
| 91 | elif [ "$1" = "all" ]; then | 91 | elif [ "$1" = "all" ]; then |
| 92 | for g in *.git; do | 92 | for g in *.git; do |
| 93 | cd $g | 93 | cd $g |
| 94 | printf "#!/bin/sh\n\n$bindir/post-receive-stagit\n" >> \ | 94 | printf "#!/bin/sh\n\n$bindir/post-receive-stagit\n" > \ |
| 95 | hooks/post-receive | 95 | hooks/post-receive |
| 96 | chmod +x hooks/post-receive | ||
| 96 | $bindir/post-receive-stagit | 97 | $bindir/post-receive-stagit |
| 97 | cd | 98 | cd |
| 98 | done | 99 | done |
