[LON-CAPA-cvs] cvs: loncom(version_2_10_X) / lond

raeburn raeburn@source.lon-capa.org
Sun, 12 Jun 2011 00:08:01 -0000


raeburn		Sun Jun 12 00:08:01 2011 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom	lond 
  Log:
  - Backport 1.475.
  
  
Index: loncom/lond
diff -u loncom/lond:1.467.2.3 loncom/lond:1.467.2.4
--- loncom/lond:1.467.2.3	Sat May 14 17:14:29 2011
+++ loncom/lond	Sun Jun 12 00:08:01 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.467.2.3 2011/05/14 17:14:29 raeburn Exp $
+# $Id: lond,v 1.467.2.4 2011/06/12 00:08:01 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.467.2.3 $'; #' stupid emacs
+my $VERSION='$Revision: 1.467.2.4 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -6364,8 +6364,10 @@
 my $dist=`$perlvar{'lonDaemons'}/distprobe`;
 
 my $arch = `uname -i`;
+chomp($arch);
 if ($arch eq 'unknown') {
     $arch = `uname -m`;
+    chomp($arch);
 }
 
 # --------------------------------------------------------------