Author: glen                         Date: Fri Dec  9 19:00:05 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- leak less vars

---- Files affected:
packages/rpm-build-macros:
   rpm-build.sh (1.66 -> 1.67) 

---- Diffs:

================================================================
Index: packages/rpm-build-macros/rpm-build.sh
diff -u packages/rpm-build-macros/rpm-build.sh:1.66 
packages/rpm-build-macros/rpm-build.sh:1.67
--- packages/rpm-build-macros/rpm-build.sh:1.66 Fri Dec  9 19:57:58 2011
+++ packages/rpm-build-macros/rpm-build.sh      Fri Dec  9 20:00:00 2011
@@ -203,7 +203,7 @@
 # makes diff from kde svn path
 # requires: wget, tee
 kdediff() {
-       local url="$1"
+       local url="$1" r1 r2
        # --- branches/KDE/3.5/kdepim/kpilot/conduits/vcalconduit/vcalRecord.cc 
#624744:624745
        url=${url#*--- }
        echo >&2 "Process $url"
@@ -279,7 +279,7 @@
 # the diff can be applied with patch -p1
 d() {
        local file="$1"
-       local dir
+       local dir diff
        if [[ "$file" = /* ]]; then
                # full path -- no idea where to strip
                dir=.
@@ -292,8 +292,9 @@
 
        (builtin cd "$dir"; dif $diff{~,})
 }
+
 rpmb() {
-       local SPEC SPECDIR
+       local SPEC SPECDIR arg
        for arg in "$@"; do
                case "$arg" in
                        *.spec) SPEC="$arg"
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm-build-macros/rpm-build.sh?r1=1.66&r2=1.67&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to