[LON-CAPA-cvs] cvs: loncom /build distprobe

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 25 Aug 2006 03:00:29 -0000


albertel		Thu Aug 24 23:00:29 2006 EDT

  Modified files:              
    /loncom/build	distprobe 
  Log:
  - detect RHEL AS correctly
  
  
Index: loncom/build/distprobe
diff -u loncom/build/distprobe:1.8 loncom/build/distprobe:1.9
--- loncom/build/distprobe:1.8	Mon Jul 18 11:10:11 2005
+++ loncom/build/distprobe	Thu Aug 24 23:00:28 2006
@@ -2,7 +2,7 @@
 #
 # The LearningOnline Network with CAPA
 #
-# $Id: distprobe,v 1.8 2005/07/18 15:10:11 raeburn Exp $
+# $Id: distprobe,v 1.9 2006/08/25 03:00:28 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -49,7 +49,7 @@
 	} else {
 	    $dist = 'fedora'.int($version);
 	}
-    } elsif ($versionstring =~ /Red Hat Enterprise Linux ES release ([\d\.]+) /) {
+    } elsif ($versionstring =~ /Red Hat Enterprise Linux [AE]S release ([\d\.]+) /) {
         $dist = 'rhes'.$1;
     } else {
         warn('Unable to interpret /etc/redhat-release '.