From f5e574d9da0b6fd14f2ca619e23542d07930d579 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 26 Apr 2024 10:58:47 -0400 Subject: [PATCH] Use /usr/bin/env not /bin/env as a more portable (present on OSX) Discovered in https://github.com/bids-standard/bids-examples/actions/runs/8840102018/job/24274801958?pr=435 for https://github.com/bids-standard/bids-examples/pull/435 --- bids-validator/bids-validator-deno | 2 +- bids-validator/build.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bids-validator/bids-validator-deno b/bids-validator/bids-validator-deno index 79c1d9170..d2ba42d53 100755 --- a/bids-validator/bids-validator-deno +++ b/bids-validator/bids-validator-deno @@ -1,3 +1,3 @@ -#!/bin/env -S deno run --allow-read --allow-write --allow-env --allow-net --allow-run +#!/usr/bin/env -S deno run --allow-read --allow-write --allow-env --allow-net --allow-run import './src/bids-validator.ts' diff --git a/bids-validator/build.ts b/bids-validator/build.ts index ff780cedb..46059e073 100755 --- a/bids-validator/build.ts +++ b/bids-validator/build.ts @@ -1,4 +1,4 @@ -#!/bin/env -S deno run --allow-read --allow-write --allow-env --allow-net --allow-run +#!/usr/bin/env -S deno run --allow-read --allow-write --allow-env --allow-net --allow-run /** * Build the schema based validator for distribution (web and npm), targets browser compatible ESM *