~strahinja/ste

10bd0bb50085cd287b41f7c3e93e705efdf1019f — Страхиња Радић a month ago 7479804
lib/makedate: Remove extra code; set LC_ALL=C for consistent dates
1 files changed, 2 insertions(+), 10 deletions(-)

M lib/makedate
M lib/makedate => lib/makedate +2 -10
@@ 1,14 1,8 @@
#!/bin/sh -x
# vim: set ft=bash:
FALLBACKDATE=${FALLBACKDATE:-unknown}
case "$(uname -s)" in
	*OpenBSD*)
		DATEARGS='-j +%B,\ %d\ %Y'
		;;
	*)
		DATEARGS='+%B,\ %d\ %Y'
		;;
esac
LC_ALL=C
export LC_ALL

if [ -d .got ] && command -v got >/dev/null 2>&1; then
	got tag -l |


@@ 19,8 13,6 @@ if [ -d .got ] && command -v got >/dev/null 2>&1; then
		exit
	}' >date.new
elif [ -d .git ] && command -v git >/dev/null 2>&1; then
	LC_ALL=C
	export LC_ALL
	user=$(unalias ls >/dev/null 2>&1 || true; \
		command ls -ld . | awk '{print $3}')
	e_user=$(id -un)