[LON-CAPA-cvs] cvs: loncom /build CHECKRPMS
raeburn
raeburn@source.lon-capa.org
Mon, 04 Oct 2010 15:07:17 -0000
raeburn Mon Oct 4 15:07:17 2010 EDT
Modified files:
/loncom/build CHECKRPMS
Log:
- Change in regexp for Scientific Linux to match change in distprobe rev 1.17
- credit: E. Ramirez.
Index: loncom/build/CHECKRPMS
diff -u loncom/build/CHECKRPMS:1.11 loncom/build/CHECKRPMS:1.12
--- loncom/build/CHECKRPMS:1.11 Tue Jul 14 14:36:06 2009
+++ loncom/build/CHECKRPMS Mon Oct 4 15:07:17 2010
@@ -122,7 +122,7 @@
$cmd = 'yum update';
&prepare_msg($tmpfile,$cmd);
($send,$addsubj) = &check_with_yum($tmpfile);
-} elsif ($distro =~ /^scientific\d+\.\d$/) {
+} elsif ($distro =~ /^scientific\d+$/) {
$cmd = 'yum update';
&prepare_msg($tmpfile,$cmd);
($send,$addsubj) = &check_with_yum($tmpfile);