Whamcloud - gitweb
remove use of local
[fs/lustre-release.git] / lustrecvs
index 70ac2a0..9154775 100755 (executable)
--- a/lustrecvs
+++ b/lustrecvs
@@ -48,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=""
@@ -64,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"