diff options
-rwxr-xr-x | specgen.sh | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 <<EOF # Note: Do not hack fetchmail.spec by hand -- it's generated by specgen.sh Name: fetchmail |