Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=39965a9cf75fec08ff64925db8ec4e591e2e52a1
commit 39965a9cf75fec08ff64925db8ec4e591e2e52a1 Author: crazy <[email protected]> Date: Sat Nov 21 23:03:51 2015 +0100 util.sh - added some missing local's .. more to be investigate diff --git a/source/include/util.sh b/source/include/util.sh index 23b4012..652b0be 100644 --- a/source/include/util.sh +++ b/source/include/util.sh @@ -177,9 +177,8 @@ Fupperstr() { # regular package. ### __Faddsubpkg() { - local key - local value - local n + local key value n i + n=${#subpkgs[@]} for i in "$@"; do key="$(echo "$i" | cut -d ':' -f 1)" @@ -227,8 +226,9 @@ __Faddsubpkg() { # 14) archs ### Faddsubpkg() { - local g - local a + + local g a + if [ "$#" -lt 3 ]; then Fmessage "Faddsubpkg requires at least 3 parameters." Fdie @@ -998,6 +998,7 @@ Fbuildsystem_java_ant () { ;; 'install') if declare -f Fjar >/dev/null; then + local i for i in ${_F_java_jars[@]} do Fjar $i || Fdie _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
