From 9c4bed5c49b39a3798453d1bcdc801f6e4f45fcb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 20 Mar 2014 01:49:04 -0400 Subject: miniprokit.sh: Fix missing argument to get_pkg(). --- diff --git a/miniprokit.sh b/miniprokit.sh index e7773ec..769004a 100755 --- a/miniprokit.sh +++ b/miniprokit.sh @@ -192,7 +192,7 @@ cmd_install() elif [ "x${line}" = 'x' ]; then printf '%s\n' "${PKGS}" | grep -Fq " ${package} " || \ continue - get_pkg "${mirror}" \ + get_pkg "${root}" "${mirror}" \ "${package}" "${filename}" "${sha256sum}" fi done <<-EOF @@ -206,10 +206,11 @@ cmd_install() get_pkg() { - local mirror="${1}" - local package="${2}" - local filename="${3}" - local sha256sum="${4}" + local root="${1}" + local mirror="${2}" + local package="${3}" + local filename="${4}" + local sha256sum="${5}" info 'Downloading %s...' "${package}" filename="${filename#../../../../../../}" -- cgit v0.9.1