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

commit 25fcc2c0e4c68d1e634542d661cd4ad078b0a5d8
Author: Michel Hermier <herm...@frugalware.org>
Date:   Mon Jul 20 11:48:24 2009 +0200

scripts/makepkg

* Add missing extra checks.

diff --git a/scripts/makepkg b/scripts/makepkg
index 349c123..b5a6527 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -963,6 +963,9 @@ if [ ! -z "$subpkgs" ]; then
if [ "${#subdes...@]}" != 0 ] && [ "${#subdes...@]}" != "${#subpk...@]}" ]; then
goodsubpkgs=0
fi
+       if [ "${#subdescs_localiz...@]}" != 0 ] && [ 
"${#subdescs_localiz...@]}" != "${#subpk...@]}" ]; then
+               goodsubpkgs=0
+       fi
if [ "${#sublicen...@]}" != 0 ] && [ "${#sublicen...@]}" != "${#subpk...@]}" ]; 
then
goodsubpkgs=0
fi
@@ -996,6 +999,9 @@ if [ ! -z "$subpkgs" ]; then
if [ "${#suboptio...@]}" != 0 ] && [ "${#suboptio...@]}" != "${#subpk...@]}" ]; 
then
goodsubpkgs=0
fi
+       if [ "${#subarc...@]}" != 0 ] && [ "${#subarc...@]}" != 
"${#subpk...@]}" ]; then
+               goodsubpkgs=0
+       fi
if [ $goodsubpkgs -ne 1 ]; then
error "Subpackage infos are incomplete. Cannot create subpackages."
exit 1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to