chiark / gitweb /
Truncate nodename in case uname gave fqdn. cvsignore close3onwards.
authorian <ian>
Mon, 23 Jul 2001 22:18:23 +0000 (22:18 +0000)
committerian <ian>
Mon, 23 Jul 2001 22:18:23 +0000 (22:18 +0000)
config
misc/.cvsignore

diff --git a/config b/config
index 4639ad581bff0ced860ec8a1b062a7bd1e77a2cf..a3bc0b0074af37194c7775b36755b5bf85a22b3f 100644 (file)
--- a/config
+++ b/config
@@ -1,6 +1,7 @@
 @@-
 chomp($nodename= `uname -n`); $? and die 'uname $?';
 ($hostname)=(gethostbyname $nodename) or die "hostname $nodename ?";
+$nodename =~ s/\..*//;
 
 $xbindir= '/usr/bin/X11';
 
index 076608b2db8629e16ae0863cf071f95707de6c09..20b81ccb1f54df33cf6820354334b511430e1b35 100644 (file)
@@ -1 +1,2 @@
 with-lock-ex
+close3onwards