summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--abuild-keygen.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild-keygen.in b/abuild-keygen.in
index 29e9b40..af1ad90 100644
--- a/abuild-keygen.in
+++ b/abuild-keygen.in
@@ -42,9 +42,9 @@ if [ -z "$emailaddr" ] || [ "${emailaddr##*@}" = "$emailaddr" ]; then
fi
if [ -n "$emailaddr" ]; then
- default_name="$emailaddr"
+ default_name="$emailaddr-$(printf "%x" $(date +%s))"
else
- default_name="$USER"
+ default_name="$USER-$(printf "%x" $(date +%s))"
fi
while getopts "ahi" opt; do