Skip to content

Commit

Permalink
set +x
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmmetz committed Apr 4, 2022
1 parent 719053d commit 41b8c5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions brew.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ func ensureBrew(ctx context.Context) error {
return fmt.Errorf("error writing brew install script: %w", err)
}
_ = f.Close()
if err := os.Chmod(f.Name(), 0755); err != nil {
return fmt.Errorf("error setting brew install scipt permission bits: %w", err)
}

cmd := exec.CommandContext(ctx, "bash", "-c", f.Name())
cmd.Stdin, cmd.Stdout, cmd.Stderr = os.Stdin, os.Stdout, os.Stderr
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

set -euo pipefail

version=0.0.7 # TODO integrate with releases.
version=0.0.8 # TODO integrate with releases.

settle_base=$(pwd)

Expand Down

0 comments on commit 41b8c5d

Please sign in to comment.