diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-24 00:38:02 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-24 00:38:02 +0100 |
| commit | 07e4caa39d68d6bea50bc1314d09ca7961915556 (patch) | |
| tree | cd675c18cdb83ede569c56b59972f65fe3d6a6bb /post-receive-stagit | |
| parent | 8dc1fb5391f8121925c418e1d5f617fc784d1be6 (diff) | |
| download | git-hooks-07e4caa39d68d6bea50bc1314d09ca7961915556.tar.gz git-hooks-07e4caa39d68d6bea50bc1314d09ca7961915556.zip | |
fixed readme.md thing for sure this time
Diffstat (limited to '')
| -rwxr-xr-x | post-receive-stagit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post-receive-stagit b/post-receive-stagit index 94d5a06..99a4acd 100755 --- a/post-receive-stagit +++ b/post-receive-stagit | |||
| @@ -22,6 +22,7 @@ genstagit() { | |||
| 22 | cd "$htdir" | 22 | cd "$htdir" |
| 23 | stagit -l 100 "$repo" | 23 | stagit -l 100 "$repo" |
| 24 | git archive HEAD -o "$basedir/$name.zip" | 24 | git archive HEAD -o "$basedir/$name.zip" |
| 25 | git show master:README.md > file/README.md | ||
| 25 | } | 26 | } |
| 26 | 27 | ||
| 27 | cpindexfile() { | 28 | cpindexfile() { |
| @@ -36,7 +37,6 @@ cpstylefiles() { | |||
| 36 | 37 | ||
| 37 | formatreadme() { | 38 | formatreadme() { |
| 38 | cd "$htdir" | 39 | cd "$htdir" |
| 39 | git show master:README.md > file/README.md | ||
| 40 | printf '%s\n' \ | 40 | printf '%s\n' \ |
| 41 | g/class=\"line\"/d \ | 41 | g/class=\"line\"/d \ |
| 42 | "/<pre id=\"blob\">" d d i "$(lowdown file/README.md)" . w \ | 42 | "/<pre id=\"blob\">" d d i "$(lowdown file/README.md)" . w \ |
