fcc5e609e5
the first 32 chars of the hostname - patch helper-script to generate less bogus intermediate output - NB: This port will still register a wrong dependency on dns/host when dns/bind is installed
11 lines
398 B
Bash
11 lines
398 B
Bash
--- share/xtraceroute-resolve-location.sh.in.orig Fri May 7 15:01:36 2004
|
|
+++ share/xtraceroute-resolve-location.sh.in Fri May 7 15:01:57 2004
|
|
@@ -34,7 +34,7 @@
|
|
BIND)
|
|
FIRST=yes
|
|
#while target contains a dot.
|
|
- while [ `echo $TARGET | cut -s -f1- -d.` ] || [ $FIRST = yes ]
|
|
+ while [ -n "$TARGET" ] && [ `echo $TARGET | cut -s -f1- -d.` ] || [ $FIRST = yes ]
|
|
do
|
|
FIRST=no
|
|
#echo $TARGET
|