Skip to content

Commit

Permalink
Make macos_allow_gatekeeper a bit safer
Browse files Browse the repository at this point in the history
Removed an extra newline and ensured it runs in the script directory
regardless of the working directory.
  • Loading branch information
tchajed authored and utaal committed Nov 29, 2024
1 parent 8c17a36 commit 33202d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/vargo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1162,11 +1162,12 @@ fn run() -> Result<(), String> {
let mut dependency_missing = false;

let mut macos_prepare_script = format!(
r#"
#!/bin/bash
r#"#!/bin/bash
set -e
set -x
cd "$( dirname "${{BASH_SOURCE[0]}}" )"
"#
);
use std::fmt::Write;
Expand Down

0 comments on commit 33202d5

Please sign in to comment.