[LON-CAPA-cvs] cvs: loncom /build distprobe
raeburn
raeburn@source.lon-capa.org
Thu, 05 May 2011 15:48:25 -0000
raeburn Thu May 5 15:48:25 2011 EDT
Modified files:
/loncom/build distprobe
Log:
- Scientific Linux 6.
Index: loncom/build/distprobe
diff -u loncom/build/distprobe:1.17 loncom/build/distprobe:1.18
--- loncom/build/distprobe:1.17 Sat May 8 18:20:56 2010
+++ loncom/build/distprobe Thu May 5 15:48:25 2011
@@ -2,7 +2,7 @@
#
# The LearningOnline Network with CAPA
#
-# $Id: distprobe,v 1.17 2010/05/08 18:20:56 raeburn Exp $
+# $Id: distprobe,v 1.18 2011/05/05 15:48:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -55,7 +55,7 @@
$dist = 'rhes'.$1;
} elsif ($versionstring =~ /CentOS release (\d+)/) {
$dist = 'centos'.$1;
- } elsif ($versionstring =~ /Scientific Linux SL release ([\d.]+) /) {
+ } elsif ($versionstring =~ /Scientific Linux (SL )?release ([\d.]+) /) {
my $ver = $1;
$ver =~ s/\.\d+$//;
$dist = 'scientific'.$ver;