From: joey <> Date: Wed, 27 Oct 2004 11:52:37 +0000 (+0000) Subject: No need to execute hostname twice X-Git-Tag: debian_userdir-ldap_0-3-7~47 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=c22e888653fd47eb0ae8f2400a28c99dfe4ec5a5 No need to execute hostname twice --- diff --git a/ud-replicate b/ud-replicate index 462bce7..8968aa1 100755 --- a/ud-replicate +++ b/ud-replicate @@ -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=;; *)