Skip to content

Commit

Permalink
Merge pull request #1291 from jlengelsen/bug-install-script-binary-ow…
Browse files Browse the repository at this point in the history
…nership

Fix ownership issue in bash install script
  • Loading branch information
hiddeco committed Apr 19, 2021
2 parents ce14951 + 7994829 commit 4ecf541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/flux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ecf541

Please sign in to comment.