No need to execute hostname twice
authorjoey <>
Wed, 27 Oct 2004 11:52:37 +0000 (11:52 +0000)
committerjoey <>
Wed, 27 Oct 2004 11:52:37 +0000 (11:52 +0000)
ud-replicate

index 462bce7..8968aa1 100755 (executable)
@@ -14,7 +14,7 @@ cd /tmp/
 cd /var/lib/misc || cd /var/state/glibc/ || cd /var/db/
 lockfile -r 1 -l 3600 lock
 trap "rm -f lock" exit
-case $(hostname) in
+case $HOST in
 *samosa*)
     udhost=;;
 *)