[LON-CAPA-cvs] cvs: loncom / lond

raeburn raeburn@source.lon-capa.org
Sat, 11 Jun 2011 21:10:04 -0000


raeburn		Sat Jun 11 21:10:04 2011 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - architecture check. 
  
  
Index: loncom/lond
diff -u loncom/lond:1.474 loncom/lond:1.475
--- loncom/lond:1.474	Sat May 14 16:12:53 2011
+++ loncom/lond	Sat Jun 11 21:10:03 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.474 2011/05/14 16:12:53 raeburn Exp $
+# $Id: lond,v 1.475 2011/06/11 21:10:03 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -60,7 +60,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.474 $'; #' stupid emacs
+my $VERSION='$Revision: 1.475 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -6365,8 +6365,10 @@
 my $dist=`$perlvar{'lonDaemons'}/distprobe`;
 
 my $arch = `uname -i`;
+chomp($arch);
 if ($arch eq 'unknown') {
     $arch = `uname -m`;
+    chomp($arch);
 }
 
 # --------------------------------------------------------------