summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorKevin Song <4605384+chipbuster@users.noreply.github.com>2020-06-11 13:12:14 -0500
committerGitHub <noreply@github.com>2020-06-11 13:12:14 -0500
commit6ecabdfee4a059c473a8a92073b0db58f8efaa02 (patch)
treeabd91df8b293d85f04c373c4b00b30fc8e20afda /install
parente29140a3cde3094d27f10f4e1360b65fec8985c3 (diff)
fix: errant space breaks tar in installer (#1314)
Diffstat (limited to 'install')
-rwxr-xr-xinstall/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/install.sh b/install/install.sh
index 466fa204e..e14e47768 100755
--- a/install/install.sh
+++ b/install/install.sh
@@ -114,7 +114,7 @@ fetch_and_unpack() {
# I'd like to separate this into a fetch() and unpack() function, but I can't
# figure out how to get bash functions to read STDIN/STDOUT from pipes
if [ "${EXT}" = "tar.gz" ]; then
- fetch "${URL}" | ${sudo} tar xzf "${VERBOSE}" - -C "${BIN_DIR}"
+ fetch "${URL}" | ${sudo} tar xz"${VERBOSE}"f - -C "${BIN_DIR}"
elif [ "${EXT}" = "zip" ]; then
# According to https://unix.stackexchange.com/q/2690, zip files cannot be read
# through a pipe. We'll have to do our own file-based setup.