fix for centos5.2
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 28 Aug 2008 14:44:30 +0000 (14:44 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 28 Aug 2008 14:44:30 +0000 (14:44 +0000)
build.common

index 6b7c056..70bce37 100644 (file)
@@ -290,7 +290,8 @@ $releasever/$basearch/os
            # for now I do the mapping here, mmhh
            case $releasever in
                4) actual=4.6 ;;
-               5) actual=5.2 ;;
+               # getrelease.sh returns 5.2, used to be simply 5
+               5*) releasever=5; actual=5.2 ;;
                *) actual=$releasever ;;
            esac
            attempts="