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

commit 9dddc90017ae966bbb1b36de5eb0f776e85131bc
Author: Michel Hermier <[email protected]>
Date:   Sat Nov 24 07:11:11 2012 +0100

scripts/makepkg

* Declare suck at life and requires the -g option to define the variable
globally (defeating the interest to have the local keyword)

diff --git a/scripts/makepkg b/scripts/makepkg
index bd011d9..47c369b 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -576,7 +576,7 @@ buildscript_load() {
local i

# You have to declare associative array before using them :/
-       declare -A \
+       declare -Ag \
_P_package_descriptions \
_P_package_licenses \
_P_package_replaces \
@@ -1286,7 +1286,7 @@ pkg_create_archive() {
local i tarargs tarball

tarball="${_P_package_archives["$1"]}"
-       msg2 "Compressing $tarball " >&2
+       msg2 "Compressing $tarball" >&2

if [ -n "$COMPRESS_PROGRAM" ]; then
tarargs+=("--use-compress-program=$COMPRESS_PROGRAM")
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to