From 10fb6efef619fcf81c427f63afc5e696f21ba2e5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 20 Mar 2014 13:23:27 -0400 Subject: miniprokit.sh: Quote argument to cd. --- diff --git a/miniprokit.sh b/miniprokit.sh index 3d1f628..2686342 100755 --- a/miniprokit.sh +++ b/miniprokit.sh @@ -222,7 +222,7 @@ get_pkg() printf '%s %s\n' "${sha256sum}" "${filename}" | sha256sum --quiet -c \ || error 2 'Checksum of source package file failed' - (cd ${root}; tar -xzOf "${filename#${root}/}" data.tar.gz | tar -xz) + (cd "${root}"; tar -xzOf "${filename#${root}/}" data.tar.gz | tar -xz) } configure_pkgs() -- cgit v0.9.1