Merge pull request #1291 from jlengelsen/bug-install-script-binary-ownership

Fix ownership issue in bash install script
This commit is contained in:
Hidde Beydals 2021-04-19 15:01:25 +02:00 committed by GitHub
commit 4ecf541748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,7 +207,7 @@ verify_binary() {
setup_binary() {
chmod 755 "${TMP_BIN}"
info "Installing flux to ${BIN_DIR}/flux"
tar -xzf "${TMP_BIN}" -C "${TMP_DIR}"
tar -xzof "${TMP_BIN}" -C "${TMP_DIR}"
local CMD_MOVE="mv -f \"${TMP_DIR}/flux\" \"${BIN_DIR}\""
if [[ -w "${BIN_DIR}" ]]; then