From d49840fc0ab577550c1b27cd186d04964c08a7e4 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 19 Jun 2004 03:23:07 +0000 Subject: Make sure we're using a non-localized date. Allow overrides for user, domain, and name by using FM_USER, FM_NAME, FM_DOMAIN from the environment. svn path=/trunk/; revision=3908 --- specgen.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/specgen.sh b/specgen.sh index 5134e6df..58f4a480 100755 --- a/specgen.sh +++ b/specgen.sh @@ -1,11 +1,16 @@ #!/bin/sh -user=`whoami` -name=`grep "^${user}:" /etc/passwd | cut -d: -f5|sed -e 's/^.*,//'` -domain=mail.berlios.de +user=${FM_USER:=`whoami`} +name=${FM_NAME:=`grep "^${user}:" /etc/passwd | cut -d: -f5|sed -e +'s/^.*,//'`} +domain=${FM_DOMAIN:=mail.berlios.de} email="$user@$domain" packager="$name <$email>" +LANG=C +LC_TIME=C +export LANG LC_TIME + cat <