diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-24 18:36:15 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-24 18:36:15 +0100 |
commit | 1892bc38d8416a6ec79f37c41a9ffb38b6f44938 (patch) | |
tree | ffd211a1718ff2b793179c6fb115faf190e3cdfb /_scripts | |
parent | be6c61295058e32604e4d18da3689d2675e5bf19 (diff) |
minimalize layout
Diffstat (limited to '_scripts')
-rwxr-xr-x | _scripts/postinfo | 2 | ||||
-rwxr-xr-x | _scripts/repoinfo | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/_scripts/postinfo b/_scripts/postinfo index 95fe872..f31b145 100755 --- a/_scripts/postinfo +++ b/_scripts/postinfo @@ -1,4 +1,6 @@ #!/bin/sh +export LANG=C + file="$1" tab="$(printf '\t')" diff --git a/_scripts/repoinfo b/_scripts/repoinfo new file mode 100755 index 0000000..b413e6e --- /dev/null +++ b/_scripts/repoinfo @@ -0,0 +1,8 @@ +#!/bin/sh +export LANG=C +cat << EOF +commit: $(git rev-parse HEAD) +slug: $(git describe --always --dirty='*' --abbrev) +build_date: $(date -Idate) +EOF + |