[Ocfs2-commits] smushran commits r3036 - branches/ocfs2-1.2.5/vendor/rhel4

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jul 24 11:32:25 PDT 2007


Author: smushran
Date: 2007-07-24 11:32:24 -0700 (Tue, 24 Jul 2007)
New Revision: 3036

Modified:
   branches/ocfs2-1.2.5/vendor/rhel4/vendor.guess
Log:
ocfs2: vendor.guess handles el4 and rhel4
This patch was added to 1.2 branch as r3003. Adding same the 1.2.5 branch.
Signed-off-by: jlbec

Modified: branches/ocfs2-1.2.5/vendor/rhel4/vendor.guess
===================================================================
--- branches/ocfs2-1.2.5/vendor/rhel4/vendor.guess	2007-07-24 18:16:34 UTC (rev 3035)
+++ branches/ocfs2-1.2.5/vendor/rhel4/vendor.guess	2007-07-24 18:32:24 UTC (rev 3036)
@@ -5,9 +5,10 @@
     exit 1
 fi
 
-if [ "`rpm -qf /etc/redhat-release --qf '%{VERSION}' 2>/dev/null`" != "4AS" ]
-then
-    exit 1
-fi
+case "`rpm -qf /etc/redhat-release --qf '%{VERSION}' 2>/dev/null`" in
+    4[AEW]S) ;;
+    4) ;;
+    *) exit 1 ;;
+esac
 
 exit 0




More information about the Ocfs2-commits mailing list