diff options
author | P. J. McDermott <pjm@nac.net> | 2014-03-20 13:23:27 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-03-20 13:23:27 (EDT) |
commit | 10fb6efef619fcf81c427f63afc5e696f21ba2e5 (patch) | |
tree | 41c067afa5b42cc0624e0b291df6cf47b4886059 | |
parent | c443a3588f45e343342a3a6906ae48f7af1f73df (diff) |
miniprokit.sh: Quote argument to cd.
-rwxr-xr-x | miniprokit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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() |