Whamcloud - gitweb
remove use of local
[fs/lustre-release.git] / lustrecvs
index bcce779..9154775 100755 (executable)
--- a/lustrecvs
+++ b/lustrecvs
@@ -39,9 +39,6 @@ case "$lustretag" in
 
     # this is the branch table
     # keep this list sorted alphabetically!
-    b1_2)
-        portalstag="b1_2"
-       ;;
 
     *)
         buildtag="HEAD"
@@ -51,11 +48,11 @@ esac
 
 cvs_cmd ()
 {
-    local dir="$1"
-    local module="$2"
-    local tag="$3"
-    local cotag=""
-    local update=""
+    dir="$1"
+    module="$2"
+    tag="$3"
+    cotag=""
+    update=""
 
     if [ "$tag" = "HEAD" ] ; then
        cotag=""
@@ -67,7 +64,7 @@ cvs_cmd ()
 
     if [ -d "$dir" ] ; then
        echo "$progname: Updating $dir to $tag"
-       ( cd "$dir" && cvs up $uptag )
+       ( cd "$dir" && cvs up -dP $uptag )
     else
        echo "$progname: Checking out $dir from $tag"
        cvs co $cotag -d "$dir" "$module"