projects
/
amavisd-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3f285
)
r2: awk -F. -- no need for -F'\.'
author
Zoran Dzelajlija
<Zoran.Dzelajlija@CARNet.hr>
Wed, 1 Nov 2006 16:24:13 +0000
(16:24 +0000)
committer
Zoran Dzelajlija
<Zoran.Dzelajlija@CARNet.hr>
Wed, 1 Nov 2006 16:24:13 +0000
(16:24 +0000)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
b67aaab
..
a3b80f8
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-113,7
+113,7
@@
get_domain() {
cp_echo "CN: no host command... \$mydomain value might be unoptimal."
return
fi
- domains=$(hostname -f | awk -F'\.' '
+ domains=$(hostname -f | awk -F. '
{
for (i=2; i<NF; i++) {
for (j=i; j<NF; j++) {