Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=480f9036b0995a27ef4691dd52561abc8378cf38

commit 480f9036b0995a27ef4691dd52561abc8378cf38
Author: Michel Hermier <[email protected]>
Date:   Wed Nov 21 13:06:43 2012 +0100

scripts/makepkg

* Now that pkgdesc_localized is handled correctly in .PKGINFO generation
this loop can be simplified.

diff --git a/scripts/makepkg b/scripts/makepkg
index 9a5d4f0..19c9a71 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1906,16 +1906,13 @@ fi

create_pkg $pkgname
if [ ! -z "$subpkgs" ]; then
-       i=0
for subpkg in "${subpkgs[@]}"
do
unset pkgdesc license replaces groups depends rodepends removes conflicts 
provides backup install
unset options pkgdesc_localized archs
-               pkgdesc_localized="${subdescs_localized[$i]}"
if in_array $CARCH ${_P_package_archs["$subpkg"]}; then
create_pkg $subpkg
fi
-               i=$(($i+1))
done
fi
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to