From c40fa180c1bd41d424e6f66180ac3cd5cd9852ad Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 25 Mar 2024 14:55:20 +0100 Subject: [PATCH] fix shebang in various bash scripts (#910) --- buildtools/update_schema.sh | 2 +- buildtools/update_type_info.sh | 2 +- sandbox/bundle_as_wheel.sh | 2 +- sandbox/pyodide/build_packages.sh | 2 +- sandbox/pyodide/setup.sh | 2 +- test/test_under_docker.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/buildtools/update_schema.sh b/buildtools/update_schema.sh index 5d5d4ddd..0ca6bd93 100755 --- a/buildtools/update_schema.sh +++ b/buildtools/update_schema.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Regenerates typescript files with schema and sql for grist documents. # This needs to run whenever the document schema is changed in the data diff --git a/buildtools/update_type_info.sh b/buildtools/update_type_info.sh index 2e90b1dc..a4841b01 100755 --- a/buildtools/update_type_info.sh +++ b/buildtools/update_type_info.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/sandbox/bundle_as_wheel.sh b/sandbox/bundle_as_wheel.sh index 289f8163..c00035b5 100755 --- a/sandbox/bundle_as_wheel.sh +++ b/sandbox/bundle_as_wheel.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Package up Grist code as a stand-alone wheel. # This is useful for grist-static. diff --git a/sandbox/pyodide/build_packages.sh b/sandbox/pyodide/build_packages.sh index 4cd96b73..f5014478 100755 --- a/sandbox/pyodide/build_packages.sh +++ b/sandbox/pyodide/build_packages.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/sandbox/pyodide/setup.sh b/sandbox/pyodide/setup.sh index 238ed9c5..7fe46563 100755 --- a/sandbox/pyodide/setup.sh +++ b/sandbox/pyodide/setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/test/test_under_docker.sh b/test/test_under_docker.sh index 56a229ee..fd75fb10 100755 --- a/test/test_under_docker.sh +++ b/test/test_under_docker.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This runs browser tests with the server started using docker, to # catch any configuration problems.