Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ execute() {
# test if Rosetta2 is present
/usr/bin/pgrep -q oahd || log_info "M1 CPU requires Rosetta 2, which appears to be missing. Install it by running: '/usr/sbin/softwareupdate --install-rosetta'"
fi

rm -rf "${tmpdir}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is very dangerous, in case of issues we might delete customer data. is it really necessary ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yinonsh-orca We delete the temporary directory which we have created for orca-cli installation:
tmpdir=$(mktmpdir)
After installing the orca-cli, we should be OK to delete the directory created by us.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yinonsh-orca / @liorj-orca Any thoughts on my last comment.?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the directory is created under /tmp, there's no need to delete it.

@liorj-orca what do you think ? Was this raised by customers ?

}


Expand Down