mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 06:03:12 +00:00
use -f instead of non-portable --fdqn option to hostname
This commit is contained in:
parent
87303c3436
commit
2f6f9b26f2
@ -115,7 +115,7 @@ get_author_label() {
|
|||||||
# Serval Project email addresses get special treatment, to reduce day-to-day
|
# Serval Project email addresses get special treatment, to reduce day-to-day
|
||||||
# version string verbosity.
|
# version string verbosity.
|
||||||
case "$email" in
|
case "$email" in
|
||||||
'') author_label="${LOGNAME?}@$(hostname --fqdn)";; #" <-- fix Vim syntax highlighting
|
'') author_label="${LOGNAME?}@$(hostname -f)";; #" <-- fix Vim syntax highlighting
|
||||||
*@servalproject.org) author_label="${email%@*}";; #" <-- fix Vim syntax highlighting
|
*@servalproject.org) author_label="${email%@*}";; #" <-- fix Vim syntax highlighting
|
||||||
*) author_label="$email";;
|
*) author_label="$email";;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user