Whamcloud - gitweb
Branch b1_8
[fs/lustre-release.git] / build / lbuild
index 3ac3c33..d09899a 100755 (executable)
@@ -16,7 +16,7 @@ RELEASE=false
 #       search through this file (and lbuild.old_school -- but that will
 #       be going away soon) for "-bb" and see how many places
 #       simply don't account for this option
-DO_SRC=false
+DO_SRC=true
 DOWNLOAD=true
 TAG=
 CANONICAL_TARGET=
@@ -284,6 +284,9 @@ check_options() {
         2.6-sles11)
             CANONICAL_TARGET="sles11"
             ;;
+        2.6-oel5)
+            CANONICAL_TARGET="oel5"
+            ;;
         hp_pnnl-2.4)
             CANONICAL_TARGET="hp-pnnl-2.4"
             ;;
@@ -1080,7 +1083,7 @@ find_rpm() {
         fatal 1 "Unable to chdir to directory \"$dir\" in find_rpm()"
 
     local file
-    for file in $(ls); do
+    for file in $(ls *.rpm); do
         if [ ! -f "$file" ]; then
             continue
         fi